finished not yet on protocol
Datepicker doesn't display the right date format in french
In the backoffice, when selecting start and end dates of a process, the date format is %m/%d/%Y when french locale is activated, whereas it should be %d/%m/%Y.
French datepicker locale is ok in fr.yml.
I checked on the staging platform and the format is %d/%m/%Y no matter the language (english, català, castellano)
Don't know if it's a bug or a misconfiguration on our side though !
Documents
5 comments
-
Same but my Decidim is in English (default) and Swedish. It seems that dates should be d/m/Y in British English so maybe the original translation should also be that?
https://dictionary.cambridge.org/grammar/british-grammar/writing/dates
And I guess that we could create a new translation for American English to encompass these small differences.1 votes up 0 votes down -
@, look for the foundation-datepicker.fr.js file in the decidim repo and checkout the configuration in there (same for you @pierre in the "sv" one). My guess is that you need to configure the format there.
1 votes up 0 votes down-
@ yes, we just needed to add the right format, thanks a lot !!
0 votes up 0 votes down-
@Julie You're welcome! Could you please contribute your changes back to decidim?
0 votes up 0 votes down-
Were these changes made? I'm running into the same issue here in New York.
0 votes up 0 votes down
-
-
-
Sign in with your Atmosphere account to comment.