Coming from Rails, we used to have the feature where we could specify date / time / timestamp formats in our translation files, and then use simple helper function to convert date/time/timestamp to current user’s locales using that template. We were also able to specify variants, say :short date format etc. The procedure is described here: Rails Internationalization (I18n) API — Ruby on Rails Guides
Is there something in Elixir ecosystem, that I am not aware of, that allows us to have similar effect?
I think I could hack something like that myself, using gettext to store format strings, then a custom helper to fetch this string from gettext and format timestamps accordingly, but I was wondering if I missed something that’s doing it (possibly better) already in the ecosystem of libraries?






















