gkoberger / BugzillaJS

A userscript that adds additional functionality to bugzilla
https://addons.mozilla.org/en-US/firefox/addon/bugzillajs/
43 stars 18 forks source link

Correct CST (China Standard Time) to UTC+8 #116

Closed yfdyh000 closed 7 years ago

yfdyh000 commented 8 years ago

I hope the CST is no conflict and works for all.

I hope this has a common conversion library, or identify its source.

yfdyh000 commented 8 years ago

@Rik

yfdyh000 commented 8 years ago

@gkoberger

yfdyh000 commented 8 years ago

@mnoorenberghe

mnoorenberghe commented 8 years ago

This will conflict with https://en.wikipedia.org/wiki/Central_Standard_Time

(I haven't yet looked how these definitions are used)

yfdyh000 commented 8 years ago

STR: Set the "Timezone used to display dates and times" to "Asia/Shanghai" on https://bugzilla.mozilla.org/userprefs.cgi?tab=settings.

I see the "CDT" when "America/Chicago" was set for now.

mnoorenberghe commented 8 years ago

I see the "CDT" when "America/Chicago" was set for now.

That's because they just switched to CDT due to daylight savings time a few weeks ago. It will switch back to CST in the fall.

yfdyh000 commented 8 years ago

Ah, I also suspect but have not seen the CST for it, and I did not find the relevant definitions in Bugzilla source.

mnoorenberghe commented 7 years ago

Please re-open if you have a new patch that doesn't conflict with Central Standard Time.