moment-timezone: Wrong timezone for China/Schanghai

According to wiki The abbr. CST stands both for Central Standard Time (North America) and China Standard Time

If you set your timezone on your PC to Shanghai, moment determines timezone: America/Chicago

System Ubuntu, FF or Chrome "moment": "2.18.1", "moment-timezone": "0.5.13"

chrome-console

timezone

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 20 (6 by maintainers)

Commits related to this issue

Most upvoted comments

OMG. Pacific Standard Time and Philippines Standard Time also have the same abbreviation – PST!

wrong time for CST. the CST time should be 8 hours later than UTC, but actually it performs 12 hours.

screen shot 2018-06-03 at 11 39 32

added: sorry, it seems to be a bug of the implementation of Date.getTimezoneOffset() in V8@6.2.414.54