Closed Bug 1816168 Opened 2 years ago Closed 2 years ago

Don't rely on timezone name for date formatting

Categories

(Calendar :: General, defect)

defect

Tracking

(thunderbird_esr102 wontfix)

RESOLVED FIXED
112 Branch
Tracking Status
thunderbird_esr102 --- wontfix

People

(Reporter: leftmostcat, Assigned: leftmostcat)

References

Details

Attachments

(1 file)

Currently, the datetime formatting code relies on the time zone ID on the datetime object to be recognized by Gecko's internationalization code. However, these timezone IDs are provided to us by ical.js and—in the case of time zones embedded in ICS files—are arbitrarily specified and may not be recognized. We have access to the time zone's offset and should use this instead.

Blocks: 1149470
Target Milestone: --- → 112 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e53baac4bfb2
use time zone offset for date formatting instead of tzid. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: