Module for formatting Time in different timezones and languages


#1

Hello,

I post here to discuss this module https://github.com/hans-helmut/elm-timei18n/ I made for displaying localised date and time. I would like to have a similar function (maybe with a different API) in Elm direct.

Thanks for your opinions.

H-H


#2

I see in the readme that you want to change the datastructure to use Dicts but didn’t since you want to sort on custom types. I had this issue a few days ago and solved it with matthewsj/elm-ordering.


#3

In my case, I think now a case ... ofis better than a Dict, as the compiler can check the completeness, ensuring all possible values are handled.


#4

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.