Skip to content

Commit

Permalink
Start week on monday
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Sep 3, 2024
1 parent 4329472 commit 0bb248b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/main/resources/static/js/events/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ $(document).ready(function () {
altInput: true,
altFormat: 'F j, Y H:i',
dateFormat: "Y-m-dTH:i:S",
time_24hr: true
time_24hr: true,
locale: {
firstDayOfWeek: 1
}
};
$('#ending').flatpickr(config);
$('#start').flatpickr(config);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/events/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion src/main/resources/static/js/products/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ $(document).ready(function () {
altInput: true,
altFormat: 'F j, Y H:i',
dateFormat: "Y-m-dTH:i:S",
time_24hr: true
time_24hr: true,
locale: {
firstDayOfWeek: 1
}
};
$('#sellStart').flatpickr(config);
$('#sellEnd').flatpickr(config);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/js/products/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0bb248b

Please sign in to comment.