srawlins / timezone

Time zone database and time zone aware DateTime object for Dart.
BSD 2-Clause "Simplified" License
102 stars 53 forks source link

Some of time zone is not supported. #144

Closed MurtuzaSrashtaSoft closed 1 year ago

MurtuzaSrashtaSoft commented 1 year ago

i received below error while i set Australia/LHI

ERROR: Location with the name "Australia/LHI" doesn't exist

Location with the name "Australia/South" doesn't exist

Australia/Canberra

{ "ACT": "Australia/ACT", "Adelaide": "Australia/Adelaide", "Brisbane": "Australia/Brisbane", "Broken_Hill": "Australia/Broken_Hill", "Canberra": "Australia/Canberra", "Currie": "Australia/Currie", "Darwin": "Australia/Darwin", "Eucla": "Australia/Eucla", "Hobart": "Australia/Hobart", "LHI": "Australia/LHI", "Lindeman": "Australia/Lindeman", "Lord_Howe": "Australia/Lord_Howe", "Melbourne": "Australia/Melbourne", "NSW": "Australia/NSW", "North": "Australia/North", "Perth": "Australia/Perth", "Queensland": "Australia/Queensland", "South": "Australia/South", "Sydney": "Australia/Sydney", "Tasmania": "Australia/Tasmania", "Victoria": "Australia/Victoria", "West": "Australia/West", "Yancowinna": "Australia/Yancowinna" }

most of region are not support

MurtuzaSrashtaSoft commented 1 year ago

Screenshot 2022-10-09 at 5 45 42 PM

MurtuzaSrashtaSoft commented 1 year ago

Solution

https://github.com/srawlins/timezone/issues/138#issuecomment-1217623499

srawlins commented 1 year ago

Is this an officially recognized time zone? Did you try the 'all' variant?