made moment set the correct week start day property

This commit is contained in:
Sam Armstrong 2015-01-28 17:28:10 -06:00
parent 37758bff4a
commit a38440319e
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@
return moment[I18N[prop]](); return moment[I18N[prop]]();
}; };
var setDayOfWeekStart=function(options){ var setDayOfWeekStart=function(options){
options.dayOfWeek=moment.localeData().firstDayOfWeek(); options.dayOfWeekStart=moment.localeData().firstDayOfWeek();
}; };
var NS, XDE_KEYUP, XDE_AFTEROPEN, XDE_BLUR, XDE_CHANGEDATETIME, XDE_CLICK, XDE_CLOSE, XDE_DBLCLICK, XDE_FOCUSIN, XDE_GENERATE, XDE_KEYDOWN, var NS, XDE_KEYUP, XDE_AFTEROPEN, XDE_BLUR, XDE_CHANGEDATETIME, XDE_CLICK, XDE_CLOSE, XDE_DBLCLICK, XDE_FOCUSIN, XDE_GENERATE, XDE_KEYDOWN,
XDE_MOUSEDOWN, XDE_MOUSEUP, XDE_MOUSEWHEEL, XDE_OPEN, XDE_RESIZE, XDE_TOGGLE, XDE_XCHANGE, XDE_ERROR_INPUT, XDE_SELECT, XDE_RESIZE_SCROLL, XDE_MOUSEDOWN, XDE_MOUSEUP, XDE_MOUSEWHEEL, XDE_OPEN, XDE_RESIZE, XDE_TOGGLE, XDE_XCHANGE, XDE_ERROR_INPUT, XDE_SELECT, XDE_RESIZE_SCROLL,

View File

@ -25,7 +25,7 @@
return moment[I18N[prop]](); return moment[I18N[prop]]();
}; };
var setDayOfWeekStart=function(options){ var setDayOfWeekStart=function(options){
options.dayOfWeek=moment.localeData().firstDayOfWeek(); options.dayOfWeekStart=moment.localeData().firstDayOfWeek();
}; };
//= datetimepicker.base.js //= datetimepicker.base.js
}); });