Great library! I'm trying to show the DST-aware abbreviation (ex EDT vs EST) of a timezone when the timezone is chosen by IANA city name aka name/group in tzdb based on the current date, but getTimeZones() returns abbreviations all in standard time format (ex EST, not EDT), even though daylight savings time may be in effect for those timezones.
Example:
- Today, August 20th 2025:
getTimeZones() returns records with abbreviations like "EST", "PST", "CST", as opposed to "EDT", "PDT", and "CDT", even though Daylight Savings Time is in effect.
I see there are daylight and standard abbreviations in the abbreviations mapping, but I see no way to get at them from the objects returned by getTimeZones().
Any suggested workarounds? If not, what change needs to be made to getTimeZones() to support this? I may submit a PR if it's not too crazy to do.
Great library! I'm trying to show the DST-aware abbreviation (ex EDT vs EST) of a timezone when the timezone is chosen by IANA city name aka
name/groupin tzdb based on the current date, butgetTimeZones()returns abbreviations all in standard time format (ex EST, not EDT), even though daylight savings time may be in effect for those timezones.Example:
getTimeZones()returns records with abbreviations like "EST", "PST", "CST", as opposed to "EDT", "PDT", and "CDT", even though Daylight Savings Time is in effect.I see there are daylight and standard abbreviations in the
abbreviationsmapping, but I see no way to get at them from the objects returned bygetTimeZones().Any suggested workarounds? If not, what change needs to be made to
getTimeZones()to support this? I may submit a PR if it's not too crazy to do.