justinmimbs / timezone-data

An Elm package containing time zone data from the IANA Time Zone Database
https://package.elm-lang.org/packages/justinmimbs/timezone-data/latest/
BSD 3-Clause "New" or "Revised" License
29 stars 5 forks source link

Recommended approach to getting short/abbreviated timezone name #5

Open igregson opened 4 years ago

igregson commented 4 years ago

For example:

Getting "EST" from "America/New_York".

This was possible via https://package.elm-lang.org/packages/Bogdanp/elm-time/1.4.0/Time-TimeZone#abbreviation, but that package does is not compatible with Elm 0.19.1. Is adding such support here feasible? Otherwise, is a JS solution via ports the only viable approach?