Skip to main content
Aug 9, 2018 2:12 PM UTC
Solved

Calendar widget - How to display Monday to Sunday?

Hi,

 

Calendar is showing Sunday to Monday when we click the calendar icon in a mashup. I want to change the day order and show Monday to Sunday when the user click calendar icon? Pl help!

tkawasakiAnswer
Aug 15, 2018 8:43 AM UTC

Hi,

jQuery is used to display the calendar and you can configure the calendar to show Monday as the start of the week by setting 1 to datepickerFirstDay in Localization Tokens. (0 to show Sunday as the start day of the week)

 

Go to Composer > SYSTEM > Localization Tables > Default > Localization Tokens set 1 to This Language row of datepickerFirstDay.

 

2018-08-15 17-39-14.jpg

4 replies

Aug 14, 2018 8:28 AM UTC

Hi @pselvaraj-1 which calendar widget are you referring to? Is it a custom widget or are you referring to the timeselector or datetime picker widget?

Aug 14, 2018 9:05 AM UTC

I am using datetime picker which comes with thingworx foundation. 

tkawasakiAnswer
Aug 15, 2018 8:43 AM UTC

Hi,

jQuery is used to display the calendar and you can configure the calendar to show Monday as the start of the week by setting 1 to datepickerFirstDay in Localization Tokens. (0 to show Sunday as the start day of the week)

 

Go to Composer > SYSTEM > Localization Tables > Default > Localization Tokens set 1 to This Language row of datepickerFirstDay.

 

2018-08-15 17-39-14.jpg

Aug 20, 2018 9:51 AM UTC

It works, Thank You!