Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Change starting day of week in "date picker"

ctu1
Giga Expert

Hi,

we need to change the starting day of the week to Monday instead of Sunday. I have fould that I can add a property "glide.ui.date_format.first_day_of_week" that will do this for calendar type pages (e.g. History of a record in calendar format). [BTW: this property is *NOT* documented anywhere in the wiki, can we have a documentation of *all* properties in the wiki please?]

To my question: I have not found anything on how to change that behaviour for the calendar picker which is heavily used to set data type fields here (see attachment). How can I change that so the week starts on Monday?

Thanx, ct

5 REPLIES 5

ctu1
Giga Expert

And here is the attachment ... *sigh*


Mark Stanger
Giga Sage

Looks like you're using the wrong property name. Try 'glide.ui.date_picker.first_day_of_week' instead.


Hi Mark,

perfect as always. Worked just as advertised... Thanx! 🙂

Regards, ct


peter_repan
Kilo Sage

Hi,



is it possible to change starting day only on specific date picker? F.e. I would like to change starting day only on date picker in my catalog variable, not in the whole system.


Because I see that this property is working globally.



Thank you