-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support different date format for locales #2116
Comments
My thoughts and summary from a discord discussion: Links We can implement it in the So ideally it should looks like that:
@princescar I can prepare a rough PoC, would you be able to take it from there and finish? Defenetely this feature not a n1 in my priority list. |
Prepared a PR here #2117 |
Thanks, let me try to take it from here. |
@princescar it turned out that it wasn't very complicated, so I implemented it completely. Would appreciate it if you test the build from branch in your local project. |
Great, will test and get back. |
Is your feature request related to a problem? Please describe.
Right now the date format (third part) in message ignored. I want to be able to specify the format in messages, so that we can have different date display for each locales.
Describe proposed solution
Follow the ICU message spec, specify the date format in the messages, here are some examples:
Describe alternatives you've considered
N/A
Additional context
We may want a generic solution, as numbers may also need this, and more formatters such as durations could be introduced in the future.
The text was updated successfully, but these errors were encountered: