This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
AriaNg/src/scripts/config/initiator.js

14 lines
348 B
JavaScript
Raw Normal View History

2016-05-31 16:51:12 +02:00
(function () {
'use strict';
2018-08-12 11:00:23 +02:00
angular.module('ariaNg').run(['moment', 'ariaNgSettingService', function (moment, ariaNgSettingService) {
2016-05-31 16:51:12 +02:00
var language = ariaNgSettingService.getLanguage();
moment.updateLocale('zh-cn', {
week: null
});
ariaNgSettingService.applyLanguage(language);
}]);
2016-08-01 16:49:16 +02:00
}());