manuelmhtr / countries-and-timezones

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

Asia/Saigon doesn't exist, even though my browser doesn't agree #5

Closed vacuumdreams closed 4 years ago

vacuumdreams commented 5 years ago

if I do this in my console, the timezone returned is one which is missing from the dataset.

Intl.DateTimeFormat().resolvedOptions().timeZone
"Asia/Saigon"

unfortunately that doesn't match any of the timezones assigned to Vietnam in the json file:

    "VN": {
      "id": "VN",
      "name": "Vietnam",
      "timezones": [
        "Asia/Bangkok",
        "Asia/Ho_Chi_Minh"
      ]
    },
manuelmhtr commented 4 years ago

Hi @vacuumdreams , Thanks for the report. Version 2.0.0 added 167 timezone aliases, now Asia/Saigon is included.

Thanks,