Makes Monday first day of the week even if English language is selected
This commit is contained in:
parent
761fbdca81
commit
ddaba23c9a
|
@ -10,6 +10,13 @@ require('./forms');
|
||||||
require('./sticky-headers');
|
require('./sticky-headers');
|
||||||
require('./moment-countdown');
|
require('./moment-countdown');
|
||||||
|
|
||||||
|
moment.updateLocale('en', {
|
||||||
|
week : {
|
||||||
|
dow : 1, // Monday is the first day of the week.
|
||||||
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$.ajaxSetup({
|
$.ajaxSetup({
|
||||||
headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}
|
headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue