diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-12 00:39:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-12 00:39:28 +0200 |
commit | 592222c4012c833ef8d8a1503988d7e478f68a46 (patch) | |
tree | f884e6fac8732ef240cca8ee6b35d3a490c062cb /resources/assets | |
parent | 91eae7d067be09d0aa6af3dd617a7aff4a66a9bb (diff) | |
parent | ddaba23c9ab62feeedf94ce8c3b8f92c986da05f (diff) |
Merge pull request #659 from weeman1337/feature/630-mo-first-day-of-week
Sets Monday as first day of the week
Diffstat (limited to 'resources/assets')
-rw-r--r-- | resources/assets/js/vendor.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/assets/js/vendor.js b/resources/assets/js/vendor.js index bf3807f7..b4b6487d 100644 --- a/resources/assets/js/vendor.js +++ b/resources/assets/js/vendor.js @@ -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')} }); |