Closed wgrabias closed 2 years ago
Is this something you can provide a reproduction? I know for a fact that when changing the current locale from en-US
to en-GB
formatted dates go from 6:10PM to 18:10, so it seems to be working for dates.
Closing this for now, reopen it if it's still an issue.
It seems that memoizing of i.e getTimeFormatter isn't working properly:
precompiled translations use __time that only passes the format:
Formatter is later picked based on that options:
No matter which language is selected the locale prop passed to the function is
undefined
, so after switching the language getTImeFormatter returns the one already memoized for the first language:The above applies to other formatters as well