Replies: 1 comment
-
Forced formatting isn't a use case that ECMA402 supports. If you want to though, you can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to overwrite date format for some countries, e.g.: en-US, need to show in YYYY-mm-dd format which is read from config.
en-US.json
dateFormat: "YYYY-mm-dd"
jp.json
dateFormat: "YYYY/mm/dd"
However, there's no way to show this with with provided config.
In my case, should I just forget using react-intl for formattedDate related stuff.
And just use moment.js ?
Or let me ask in this way, how to get "YYYY/mm/dd" with locale: en-US. In my use case, I just have to overwrite it and no see any example. That's so frustrating
Beta Was this translation helpful? Give feedback.
All reactions