Closed Bug 1149470 Opened 10 years ago Closed 2 years ago

ICAL.js should use timezones from ICS if necessary

Categories

(Calendar :: ICAL.js Integration, defect)

Thunderbird 113
defect

Tracking

(Not tracked)

RESOLVED FIXED
113 Branch

People

(Reporter: darktrojan, Assigned: leftmostcat)

References

Details

(Whiteboard: [timezone])

Attachments

(3 files)

Follow-up to bug 1149423. If the stated timezone can't be found in the timezone service, and the information is available in the ICS we're parsing, that information should be used. Libical does this.
Whiteboard: [timezone]
Blocks: 1212914
Severity: normal → S3
Duplicate of this bug: 1806836

Microsoft timezone names are not recognised, such as 'US Mountain Standard Time' and 'Pacific Standard Time'. When fixing, please make sure that DST works correctly, as I saw some ICS files that were inconsistent with their handling of the numerical hour shifts.

A few example files that are not parsed by the current calendar correctly are attached.

Attached file evt1.ics
Attached file evt2.ics
Assignee: nobody → leftmostcat
Status: NEW → ASSIGNED

The calendar software also corrupts the existing events in Exchange/IMAP server account when touched (if I'm not mistaken, just fiddling around without editing anything is enough for it to overwrite the events with corrupted ones that show improper time).

Maybe the severity should be bumped to a higher level than S3/normal, or does this apply only to released stable versions? The bug appears 8 years old, but the issue is recent and fairly serious, as there's no workaround. Possibly 90% of event files are generated using Microsoft tools and/or pass through Microsoft servers, and this bug corrupts all events that come from a non-local timezone (virtually all remote work these days).

Duplicate of this bug: 1814934
See Also: → 787083, 1243364, 1433639, 1511962, 729685

For the record as per Bug 1814934 Comment 0:

"...
Thunderbird 110.0b3 (64-bit) on Windows 10, an .isc file (or an accepted received invite) of a 3pm event set with timezone TZID:W. Europe Standard Time (aka Paris time) appears at 3pm instead of 2pm in my Europe/London network CalDav calendar (aka 3pm Paris time) ones imported (or email invite accepted).

(...)

As the reproducible issue is not happening Thunderbird 102.7.1 (64-bit)
..."

So issue may have aggravated recently...

Depends on: 1816168
Duplicate of this bug: 1234519
Duplicate of this bug: 1816411
Duplicate of this bug: 1504851
Target Milestone: --- → 113 Branch
Version: unspecified → Thunderbird 113

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1f92bc9ddbda
import ical.js update with support for embedded ICS time zones. r=darktrojan

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

Attachment

General

Creator:
Created:
Updated:
Size: