manuelmhtr / countries-and-timezones

Minimalistic library to work with countries and timezones data
MIT License
229 stars 67 forks source link

DST Observed Countries #4

Closed z639 closed 4 years ago

z639 commented 5 years ago

Enhancement --

Maybe an boolean value added to the JSON file to indicate if the country does or does not use DST (daylight saving time).

z639 commented 5 years ago

Actually, looking at the date.json, that might be trickier than I first thought.

manuelmhtr commented 4 years ago

Hi @z639 , You are right. It's valuable to know whether a timezone observes DST or not. Version 2.0.0 now introduces properties dstOffset and dstOffsetStr for all timezones.