Default locale #3679
Answered
by
LinThitHtwe
Joseph-Naveen
asked this question in
Q&A
Default locale
#3679
-
Is any locale format available for default 'en' not ('enUS', 'enIN', 'enNZ'...)? |
Beta Was this translation helpful? Give feedback.
Answered by
LinThitHtwe
Jan 24, 2024
Replies: 1 comment 4 replies
-
I think the default is already en, you don't need to specify it formatRelative(subDays(new Date(), 3), new Date());
//=> "last Friday at 7:26 p.m." |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that the 'en' locale is not available. However, you can use one of the following specific English locales:
en-AU
en-CA
en-GB
en-IE
en-IN
en-NZ
en-US
en-ZA