pinkfish / flutter_native_timezone

Apache License 2.0
86 stars 182 forks source link

LocationNotFoundException: Location with the name "Etc/GMT-1" doesn't exist #57

Open AnasElbattra opened 1 year ago

AnasElbattra commented 1 year ago

The problem

Suggest

'Asia/Aden': 'Asia/Aden', 'America/Cuiaba': 'America/Cuiaba', 'Etc/GMT+9': 'Asia/Vladivostok', 'Etc/GMT+8': 'Asia/Shanghai', 'Africa/Nairobi': 'Africa/Nairobi', 'America/Marigot': 'America/Marigot', 'Asia/Aqtau': 'Asia/Aqtau', 'Pacific/Kwajalein': 'Pacific/Kwajalein', 'America/El_Salvador': 'America/El_Salvador', 'Asia/Pontianak': 'Asia/Pontianak', 'Africa/Cairo': 'Africa/Cairo', 'Pacific/Pago_Pago': 'Pacific/Pago_Pago', 'Africa/Mbabane': 'Africa/Mbabane', 'Asia/Kuching': "Asia/Kuching", 'Pacific/Honolulu': "Pacific/Honolulu", 'Pacific/Rarotonga': "Pacific/Rarotonga", "America/Guatemala": "America/Guatemala", "Australia/Hobart": "Australia/Hobart", "Europe/London": "Europe/London", "America/Belize": "America/Belize", "America/Panama": "America/Panama", "Asia/Chungking": "Asia/Shanghai", "America/Managua": "America/Managua", "America/Indiana/Petersburg": "America/Indiana/Petersburg", "Asia/Yerevan": "Asia/Yerevan", "Europe/Brussels": "Europe/Brussels", "JST": "Asia/Tokyo", "GMT": "Europe/London", "Europe/Warsaw": "Europe/Warsaw", "America/Chicago": "America/Chicago", "Asia/Kashgar": "Asia/Urumqi", "Chile/Continental": "America/Santiago", "Pacific/Yap": "Pacific/Chuuk", "CET": "Europe/Paris", "Etc/GMT-1": "Europe/Lisbon", "Etc/GMT-0": "UTC", "Europe/Jersey": "Europe/London", "America/Tegucigalpa": "America/Tegucigalpa", "Etc/GMT-5": "America/New_York", "Europe/Istanbul": "Europe/Istanbul", "America/Eirunepe": "America/Eirunepe", "Etc/GMT-4": "America/Port_of_Spain", "America/Miquelon": "America/Miquelon", "Etc/GMT-3": "Europe/Istanbul", "Europe/Luxembourg": "Europe/Luxembourg", "Etc/GMT-2": "Europe/Zaporozhye", "Etc/GMT-9": "Asia/Seoul", "America/Argentina/Catamarca": "America/Argentina/Tucuman", "Etc/GMT-8": "Asia/Shanghai", "Etc/GMT-7": "Asia/Bangkok", "Etc/GMT-6": "America/Guatemala", "Europe/Zaporozhye": "Europe/Zaporozhye", "Canada/Yukon": "America/Whitehorse", "Canada/Atlantic": "America/Halifax", "Atlantic/St_Helena": "Atlantic/St_Helena", "Australia/Tasmania": "Australia/Hobart", "Libya": "Africa/Tripoli", "Europe/Guernsey": "Europe/London", "America/Grand_Turk": "America/Grand_Turk", "US/Pacific-New": "America/Los_Angeles", "Asia/Samarkand": "Asia/Samarkand", "America/Argentina/Cordoba": "America/Argentina/Cordoba", "Asia/Phnom_Penh": "Asia/Phnom_Penh", "IST": "Asia/Kolkata", "Africa/Kigali": "Africa/Kigali", "Asia/Almaty": "Asia/Almaty"

tjarvstrand commented 1 year ago

Hi @AnasElbattra,

This is not an issue with flutter_native_timezone as it doesn't contain it's own timezone database. It only provides access to the timezones reported by the underlying platform.

tjarvstrand commented 1 year ago

Oh, and BTW, flutter_native_timezone has pretty much been abandoned for almost two years. Consider switching to flutter_timezone, which is a fork of this package.