Closed Bug 872173 Opened 11 years ago Closed 11 years ago

Timezone information lost when reading ics file, all times converted to floating

Categories

(Calendar :: ICAL.js Integration, defect)

Lightning 2.5
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

References

Details

(Keywords: dataloss, dogfood)

Attachments

(2 files, 1 obsolete file)

Attached file testcase β€”
When opening a calendar all timezone information is lost. Times are converted to floating.

STR:
1. Set calendar.icaljs to true, restart Thunderbird
2. Use menu File > Open > Calendar File to subscribe to a local ics calendar file
3. Select an event an inspect its timezone, e.g. in the Event Dialog

Error:
Event times are shown as floating instead of the original timezone.
Attached patch Fix - v1 (obsolete) β€” β€” Splinter Review
This takes care. One issue was that the ical.js timezone service didn't have any timezones, the other was the referenced timezone methods I didn't implement.

I'm not quite happy with the referenced timezones implementation, but its almost like the libical version and James has plans to rewrite some of the timezone bits of ical.js. Therefore it doesn't make sense to integrate timezone refcounting into ical.js right now.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #751464 - Flags: review?(matthew.mecca)
Attached patch Fix - v2 β€” β€” Splinter Review
Fixes an error with recurring events
Attachment #751464 - Attachment is obsolete: true
Attachment #751464 - Flags: review?(matthew.mecca)
Attachment #751476 - Flags: review?(matthew.mecca)
Comment on attachment 751476 [details] [diff] [review]
Fix - v2

r=mmecca
Attachment #751476 - Flags: review?(matthew.mecca) → review+
Pushed to comm-central changeset 1f614bd1e4b3
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: