Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!


Postby patrick1645350822 » Tue Sep 13, 2022 11:25 am

Depending on the clients location the FirstDayOfTheWeek should be different: ... -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?

Patrick Marelis
Sileram BV
Posts: 37
Joined: Sun Feb 20, 2022 11:53 am

Return to Web Development

Who is online

Users browsing this forum: No registered users and 4 guests