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