mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
made moment set the correct week start day property
This commit is contained in:
parent
37758bff4a
commit
a38440319e
2
dist/jquery.datetimepicker.css.map
vendored
2
dist/jquery.datetimepicker.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/jquery.moment.datetimepicker.js
vendored
2
dist/jquery.moment.datetimepicker.js
vendored
@ -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,
|
||||||
|
@ -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
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user