You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that many directives are documented in the Timex.Format.DateTime.Formatters.Default page, but I can't find a non-hard-coded way of defining a short date formats like this that are aware of the user's locale.
PS.: I've seen people in the community recommending ex_cldr and ex_cldr_dates_times, but the locales are not "compatible" with Timex. For instance, there's no pt-BR locale, only pt and pt-PT (elixir-cldr/cldr#42), the first one being the "correct" format according to the spec they are following, which makes interop kind of a PITA tbh since we are storing Timex locales.
The text was updated successfully, but these errors were encountered:
Hi! I can't find on the documentation if Timex is capable of doing something like this:
I see that many directives are documented in the
Timex.Format.DateTime.Formatters.Default
page, but I can't find a non-hard-coded way of defining a short date formats like this that are aware of the user's locale.PS.: I've seen people in the community recommending
ex_cldr
andex_cldr_dates_times
, but the locales are not "compatible" with Timex. For instance, there's no pt-BR locale, only pt and pt-PT (elixir-cldr/cldr#42), the first one being the "correct" format according to the spec they are following, which makes interop kind of a PITA tbh since we are storing Timex locales.The text was updated successfully, but these errors were encountered: