mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Fixed that datetimepickers not considered the config.php
setting CALENDAR_FIRST_DAY_OF_WEEK
(closes #334)
This commit is contained in:
@@ -535,3 +535,12 @@ function LoadImagesLazy()
|
||||
});
|
||||
}
|
||||
LoadImagesLazy();
|
||||
|
||||
if (!Grocy.CalendarFirstDayOfWeek.isEmpty())
|
||||
{
|
||||
moment.updateLocale(moment.locale(), {
|
||||
week: {
|
||||
dow: Grocy.CalendarFirstDayOfWeek
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user