Closed ferrolive closed 6 years ago
Awesome, thanks @ferrolive. Can you provide a little more context on what was going on? What was the behavior before and what is it now?
Sure @iansinnott. Only Firefox the function was returning the Intl classEtc/GMT-X
instead of Asia/XXXX
IANA code . With the adjustment, it will return Asia/XXXX
properly.
What is the ETC timezone?
I'd be happy to merge this in, I just don't want to break functionality for anyone else.
@iansinnott I think it's one of the IANA's time zone abbreviation format. Maybe you can have more details here ftp://ftp.iana.org/tz/data/etcetera. Normally, we expect jstz library to return always the "Continent/Zone" format (ex. America/New_York, Asia/Seoul). Somehow only Firefox does some crazy stuff with the Intl class that makes jstz return that format. It does not break the code for others.
OK, merged and published as 2.0, just in case this change breaks anything for existing users.
ignore Etc timezones coming from the internationalization api