Use timezone definitions from ICU
Categories
(Calendar :: Internal Components, enhancement)
Tracking
(thunderbird_esr102 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | wontfix |
People
(Reporter: leftmostcat, Assigned: leftmostcat)
References
Details
Attachments
(1 file)
At present, we maintain our own database of timezone definitions generated by running a script on the IANA timezone database. This requires manual intervention on the release of a new ICU version, at present requires a very specific setup to run, and leaves out a number of valid timezones, causing issues for users.
The ICU library provides facilities for accessing definitions based on the IANA timezone database and is already included and updated in central. Use this as the basis for our timezone definitions instead of maintaining our own.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Bitrot addressed.
Assignee | ||
Updated•2 years ago
|
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/2b430305eaf4
create ICU timezone database service. r=darktrojan,mkmelin
Comment 5•2 years ago
|
||
This change is causing a ESLint failures in calendar/test/browser/timezones/browser_timezones.js:
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:91:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:101:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:111:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:121:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:131:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:141:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:151:11 | Octal literals should not be used. (no-octal)
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/comm/calendar/test/browser/timezones/browser_timezones.js:161:11 | Octal literals should not be used. (no-octal)
Due to bug 1797759, Treeherder marked ESLint tests as successful/green even though there were errors present. Fix for these errors should be easy enough, don't use "00", just "0" as seen in lines 57-66 of the same file.
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/bf22a7963e7e
follow-up, fix linting errors exposed with the fix of bug 1797759. rs=eslint
Description
•