In Calendar Field I want the week start in sunday
Posted:
Wed Dec 04, 2019 5:51 pm
by gonayp
Hi all.
What I want is that when displaying the calendar in a field, it shows me as the first day of the week on Sunday and not Monday, I don't know where I have to change this setting.
Thanks for the help
I have this:
And I want this:
Re: In Calendar Field I want the week start in sunday
Posted:
Tue Jan 07, 2020 6:58 pm
by gonayp
Does anyone know how to fix this?
Re: In Calendar Field I want the week start in sunday
Posted:
Tue Jan 07, 2020 7:12 pm
by sean
Hi Gonayp,
I believe this property will do it:
https://wiki.servoy.com/display/DOCS/UI ... EEK_NUMBERWhich uses ISO standard (Monday start) instead of Locale
Re: In Calendar Field I want the week start in sunday
Posted:
Sat Jan 11, 2020 5:47 pm
by gonayp
Thanks for your answer
Please could you explain in more detail. I do not understand what you are suggesting to do
Re: In Calendar Field I want the week start in sunday
Posted:
Fri Jan 17, 2020 9:10 pm
by sean
As the docs say, you would set this early in the session (most likely one time, in the
onOpen event of the solution)
- Code: Select all
function onOpen(arg,params){
application.putClientProperty(APP_UI_PROPERTY.CALENDAR_NG_SHOW_ISO_WEEK_NUMBER, true)
}
Re: In Calendar Field I want the week start in sunday
Posted:
Mon Jan 20, 2020 2:56 pm
by gonayp
I already saw that, but it doesn't solve the problem, just put the week number. What I need is that when displaying the calendar in a field, it shows me as the first day of the week on Sunday and not in Monday.
Thanks for the help