Makes Monday first day of the week even if English language is selected

This commit is contained in:
Michael Weimann 2019-10-11 21:16:24 +02:00
parent 761fbdca81
commit ddaba23c9a
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
1 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,13 @@ require('./forms');
require('./sticky-headers');
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({
headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')}
});