moment-timezone icon indicating copy to clipboard operation
moment-timezone copied to clipboard

SGT not showing in timezone

Open apcheung opened this issue 4 years ago • 3 comments

When use (UTC+08:00) Kuala Lumpur, Singapore, the time zone displayed "+08" instead of SGT.

apcheung avatar Aug 20 '20 14:08 apcheung

+1 I am experiencing this as well

evantobin avatar Jan 07 '21 21:01 evantobin

SGT is not defined in https://www.iana.org/time-zones, which is used by moment-timezone.

zeel91297 avatar Feb 16 '21 07:02 zeel91297

To clarify the back story here...

All time zone data in Moment Timezone comes from the IANA time zone database. Many years ago, the database maintainers invented abbreviations for time zones that didn't have a well-defined one in common use. This was later regarded as a mistake, and they've been progressively removing these inventions.

There's now more diligence about only using abbreviations that were in common use before the database was created. The tzdb theory documentation has more details about which time zone abbreviations are in use and why.

The "SGT" abbreviation for Singapore was removed from the database 4 years ago in release 2017a.

gilmoreorless avatar Feb 16 '21 22:02 gilmoreorless