mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 14:05:59 -03:30
fixed locale
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
root.returnExports = factory(root._, root.angular, root.$, root.$.ui, root.moment);
|
||||
}
|
||||
}(this, function(_, angular, $, ui, moment) {
|
||||
return angular.module('AngularScheduler', ['moment'])
|
||||
.filter('schedulerDate', function() {
|
||||
return angular.module('AngularScheduler', [])
|
||||
.filter('schedulerDate', ['moment', function(moment) {
|
||||
return function(input) {
|
||||
var date;
|
||||
if(input === null){
|
||||
@@ -38,7 +38,7 @@
|
||||
return date.format('l') + input.slice(input.indexOf(" "));
|
||||
}
|
||||
};
|
||||
})
|
||||
}])
|
||||
|
||||
.constant('AngularScheduler.partials', '/lib/')
|
||||
.constant('AngularScheduler.useTimezone', false)
|
||||
|
||||
Reference in New Issue
Block a user