Forums

Where is the "data-shortdays_indexes" box?

goliath 08 Jun, 2015
In the FAQ "Date control using CFv5 date picker element" this is mentioned:

And to change the days order you can change the short days indexes:

data-shortdays_indexes=[0, 1, 2, 3, 4, 5, 6]

For example, to have Monday as the first day use:
data-shortdays_indexes=[1, 2, 3, 4, 5, 6, 0]



But in the 'Advanced' tab I can't find the 'data-shortdays_indexes' anywhere?
GreyHead 08 Jun, 2015
Hi GeertMartens,

It's called Short Days

Bob
goliath 08 Jun, 2015
Hi Bob

In the box 'Short days' you can "translate" the days, e.g. ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za"]
I can't find on how to change the days order in there (what I want is Monday to be the first day of the week (and not Sunday)).
GreyHead 08 Jun, 2015
Answer
Hi geertmartens,

Ah, sorry, you can use the Extra Params box on the General tab.

Bob
This topic is locked and no more replies can be posted.