We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 369b18d + 83dc3c7 commit 35dc529Copy full SHA for 35dc529
resources/views/layout.blade.php
@@ -19,6 +19,15 @@
19
}
20
</style>
21
@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
+
31
</head>
32
<body class="cloak">
33
@if (!app()->environment('production'))
0 commit comments