Open Bug 1364780 Opened 7 years ago Updated 2 months ago

All day calendar events - bug on Today Pane (timezone related bug?)

Categories

(Calendar :: General, defect)

Lightning 4.7.8
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: sukhoi47, Unassigned)

Details

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 Cyberfox/52.0.4
Build ID: 20170401081906

Steps to reproduce:

Thunderbird 45.8.0
Lightning  4.7.8

I am subscribing "Google Holidays in United States" calendar, and others. They are "read only" calendars.

That calendar is showing the "all day" event "Mother's Day" and is set with America/Chicago time zone. My timezone is set for Brazil/Sao Paulo.


Actual results:



Everything is ok at the calendar main tab, but not at "Today Pane" tab. Seems it is not capable to correctly handle the timezone, and such "Mother's Day" is showing as an event spreading over two days.

Look attached images.



Expected results:

It has to show Mother's Day spreading over one single day on Today Pane.

Remark: Timezone is an ending-less source of problems. Is something calendars should not have!
Component: Toolbars and Tabs → General
Product: Thunderbird → Calendar
Version: 45 Branch → Lightning 4.7.8
From the screenshot it seems there is inconsistency in the way Lightning displays the event, but the event seems flawed too because an all-day event shouldn't have a timezone, it should be floating (otherwise it would be all-day only in that timezone and two days in all the others).

Could you export, and attach here, the event in .ics format from Google Calendar and then from Lightning?
Flags: needinfo?(sukhoi47)
Flags: needinfo?(sukhoi47)
The requested .ics calendars were uploaded.

I had a look on some google calendars for holidays.
There are "all day" events with timezone set and others without. 
Seems the calendar creators are not following any specific rule regarding timezone for all day events.
How are you subscribed to the calendar? Is this using the ics feed, the Provider for Google Calendar, or CalDAV?
Flags: needinfo?(sukhoi47)
I am subscribing google calendars using the "Provider for Google Calendar 3.3". (Thanks for making it!).
Flags: needinfo?(sukhoi47)
This is an additional screen capture and contains more details on the bug.
The bug exists only under "Today" and "Tomorrow" tabs.
Under "Upcoming (5days)" tab the bug is not present.
This is not an issue by Google Calendar. Lightning (or the Gdata provider) adds to the event the default timezone set on Google calendar.
The original event on Google is:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-TIMEZONE:UTC
BEGIN:VEVENT
DTSTART;VALUE=DATE:20170514
DTEND;VALUE=DATE:20170515
DTSTAMP:20170519T223641Z
UID:20170514_60o30dr560o30e1g60o30dr564@google.com
CLASS:PUBLIC
CREATED:20150624T224854Z
DESCRIPTION:
LAST-MODIFIED:20150624T224854Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Mother's Day
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR

and when imported in Lightning it becomes:

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/Chicago
BEGIN:DAYLIGHT
TZOFFSETFROM:-0600
TZOFFSETTO:-0500
TZNAME:CDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0500
TZOFFSETTO:-0600
TZNAME:CST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20150624T224854Z
LAST-MODIFIED:20150624T224854Z
DTSTAMP:20150624T224854Z
UID:20170514_60o30dr560o30e1g60o30dr564@google.com
SUMMARY:Mother's Day
STATUS:CONFIRMED
ORGANIZER;CN=Holidays in United States:mailto:en.usa#holiday@group.v.calen
 dar.google.com
DTSTART;VALUE=DATE;TZID=America/Chicago:20170514
DTEND;VALUE=DATE;TZID=America/Chicago:20170515
CLASS:PUBLIC
URL:https://www.google.com/calendar/event?eid=XXXXXXXXXXXXXXXXXXX
TRANSP:TRANSPARENT
SEQUENCE:0
END:VEVENT
END:VCALENDAR


About the problem of the two day showed in the today pane you can workaround by setting, if possible, the same timezone in Lightning and Google calendar.
Severity: normal → S3
Attachment #9385238 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: