Page 1 of 1

FirstDayOfTheWeek

PostPosted: Tue Sep 13, 2022 11:25 am
by patrick1645350822
Depending on the clients location the FirstDayOfTheWeek should be different: https://www.timeanddate.com/calendar/da ... -week.html

I tried a lot of different stuff but no-matter what I try it seems that it is always depending on the server setting what the result is.
scopes.svyDateUtils.getFirstDayOfWeek(startDate) or utils.isMondayFirstDayOfWeek();

These values stay the same even if you change the locale: i18n.setLocale(language,country) or change the language / location in the browser.
What I also see is that i18n.getCurrentCountry() is never filled? i18n.getCurrentLanguage() is changing depending on browser setting.

I develop on a Mac en deploy to de Servoy Cloud.

Anyone had the same issue or maybe has a solution for this?