mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-02 23:55:33 +00:00
(js) Fix date parsing on Safari
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user