Closed arjarn closed 5 years ago
check data-locale attribute, meta:locale meta tag ?
I've :
<meta name="metro4:locale" content="fr-FR">
By default, calendar picker use METRO_LOCALE global var, This variable init from meta tag metro4:locale
.
Use data-locale="en-US"
attribute for calendar picker to set to en-US
In fact, I want FR calendar, it's why I'm using metro4:locale with fr-FR value. But when my page is displaying (with default values set for calendar), calendar format is en-US
My draft page : https://sandbox.org.ua/arjarn/code/azbM3YfemW
See first date : "May" is showing, if you click on calendar "Mai" (in french)
I see: initial value in US, after select date - in FR. Ok, I check it.
I fix it. Thanks
I'm using calendar picker like this :
and adding in header.
When my page is displaying, date are in US mode but if I display calendar, it's french mode (if I choose another date, date is in french mode too).
Perhaps I'm missing something ?