(js) Fix date parsing on Safari

This commit is contained in:
Francis Lachapelle committed 2016-01-26 09:07:00 -05:00
1 parent 53b2e19fee
commit 8a177bea47
2 files changed
+4 -5

No files matched your search

@@ -65,6 +65,7 @@
angular.extend(_this.defaults, data);
// Configure date locale
angular.extend(Preferences.$mdDateLocaleProvider, data.locale);
Preferences.$mdDateLocaleProvider.firstDayOfWeek = parseInt(data.SOGoFirstDayOfWeek);
Preferences.$mdDateLocaleProvider.weekNumberFormatter = function(weekNumber) {