Skip to content

Commit 83dc3c7

Browse files
committed
fix monday local
1 parent 5138649 commit 83dc3c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

resources/views/layout.blade.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
}
2020
</style>
2121
@endif
22+
{{-- Metro UI Calendar: start week on Monday for European --}}
23+
<script>
24+
(function() {
25+
const weekStart = {{ in_array(app()->getLocale(), ['fr', 'de']) ? 1 : 0 }};
26+
window.metroCalendarPickerSetup = { weekStart: weekStart };
27+
window.metroCalendarSetup = { weekStart: weekStart };
28+
})();
29+
</script>
30+
2231
</head>
2332
<body class="cloak">
2433
@if (!app()->environment('production'))

0 commit comments

Comments
 (0)