cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Calendar widget - How to display Monday to Sunday?

pselvaraj-1
9-Granite

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!

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

4 REPLIES 4
supandey
19-Tanzanite
(To:pselvaraj-1)

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?

I am using datetime picker which comes with thingworx foundation. 

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

It works, Thank You!

Top Tags