(js) Fix date parsing on Safari

This commit is contained in:
Francis Lachapelle
2016-01-26 07:20:02 -05:00
parent 53b2e19fee
commit 8a177bea47
2 changed files with 4 additions and 5 deletions
@@ -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) {