Replies: 1 comment 1 reply
-
I know this message is quite old, but did you found a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When a
dateTimeFormat
is not found for the active locale it will search in the fallback locale. In this case it will show the date in the fallback locale format. Is it possible to use only the options from fallback but use the current locale.Ex.
If the current locale is
en-GB
, writing$d('short', date)
will give a date likemm/dd/yyyy
. Is it possible to use only the options in the fallback and the selected localeen-GB
(of curse without passing everywhere the current locale to?$d('short', date, currentLocale)
)Beta Was this translation helpful? Give feedback.
All reactions