12-20-2019 11:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-20-2019 11:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I'm trying to create a clock face, which show complete date.
Is there a way to show date in correct order according to language ?
For example:
In english : Friday, December 20, 2019
In French: Vendredi 20 décembre 2019.
Month and day are inverted. Is there a way to handle it ?
Thank for answers.

12-20-2019 12:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


12-20-2019 12:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I don't know any easy/automatic way. I format the date explicitly, based on an attribute that I initialise like this:
monthFirst:locale.language.toLowerCase() === "en-us"
I provide a setting for the user to be able to change this.
Gondwana Software

