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

UNCONFIRMED
Unassigned

Status

Calendar
General
UNCONFIRMED
a month ago
24 days ago

People

(Reporter: sukhoi47, Unassigned)

Tracking

Lightning 4.7.8

Details

Attachments

(3 attachments)

(Reporter)

Description

a month ago
Created attachment 8867564 [details]
Calendar all day event bug - (main calendar tab shows correctly) and (Today Pane bug).jpg

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!

Updated

a month ago
Component: Toolbars and Tabs → General
Product: Thunderbird → Calendar
Version: 45 Branch → Lightning 4.7.8

Comment 1

a month ago
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)
(Reporter)

Comment 2

a month ago
Created attachment 8869624 [details]
As requested - Google Holidays in United States (exported from Lightning and google)
Flags: needinfo?(sukhoi47)
(Reporter)

Comment 3

a month ago
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)
(Reporter)

Comment 5

a month ago
I am subscribing google calendars using the "Provider for Google Calendar 3.3". (Thanks for making it!).
Flags: needinfo?(sukhoi47)
(Reporter)

Comment 6

25 days ago
Created attachment 8872458 [details]
lightning bug additional info.jpg

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.

Comment 7

24 days ago
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.
You need to log in before you can comment on or make changes to this bug.