Closed
Bug 1234477
Opened 10 years ago
Closed 10 years ago
Wrong timezone conversion in email notification from Google Calendar
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: grisha, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20151214004008
Steps to reproduce:
I have received notification for event from Google Calendar and in "When" field time was converted wrong.
Looking at email source I got this header (not actually a header, header in body):
> When: Tue 22 Dec 2015 12:30pm - 1:30pm Moscow+00 - Moscow
I suppose that Thunderbird understands it as UTC+00 and I get 9:30 – 10:30 time interval, instead of 12:30 – 13:30.
Time in System Preferences is set to UTC+03. I'm using OS X El Capitan 10.11.1.
Comment 1•10 years ago
|
||
What exact version of Lightning and the Google provider do you use?
Component: Untriaged → Provider: GData
Product: Thunderbird → Calendar
Version: 38 → Lightning 4.0.0.1
| Reporter | ||
Comment 2•10 years ago
|
||
Lightning 4.0.4.1 as an addon. There is no Google provider installed.
Flags: needinfo?(makemyday)
Comment 3•10 years ago
|
||
Ok, I got this probably wrong. Is this your Google calendar (which you access by CalDAV then) or someone elses calendar and you're not using Google calendar yourself? Reading your first statements, I would assume the latter now.
In general, this is an unusual way to specify timezones - either one uses Moscow or the utc offset. But maybe this is just handled that way in the displayed part of the message.
Can you please attach the complete message to this bug (if you want to modify information for privacy reasons before, please to it in a way without changing the information structure)?
Component: Provider: GData → E-mail based Scheduling (iTIP/iMIP)
Flags: needinfo?(makemyday)
| Reporter | ||
Updated•10 years ago
|
Summary: Wrong timezone conversion in Google Calendar → Wrong timezone conversion in email notification from Google Calendar
Updated•10 years ago
|
Version: Lightning 4.0.0.1 → Lightning 4.0.4.1
| Reporter | ||
Comment 4•10 years ago
|
||
Yes, I was quite inaccurate that it's email notification and not CalDAV thing.
Here is the source of the message: https://pastebin.mozilla.org/8855138.
I can't get what Thunderbird type uses (plain or HTML). Changing "View -> Message Body As" doesn't change anything. But definitely time conversion has a place to be, because in source I see:
> When: Tue 22 Dec 2015 12:30pm - 1:30pm Moscow+00 - Moscow
and in the rendered message:
> 22 декабря 2015 г. 9:30 – 10:30
Flags: needinfo?(makemyday)
Version: Lightning 4.0.4.1 → Lightning 4.0.0.1
| Reporter | ||
Updated•10 years ago
|
Version: Lightning 4.0.0.1 → Lightning 4.0.4.1
Comment 5•10 years ago
|
||
This seems not to be the complete message - there is no ics part within and even the html part seems not to be complete. For analysis the whole message is needed. If this is all you have, maybe the mesage is corrupt.
The lines you're quoting are usually not used to extract the meeting information from the message (except you have used email to calendar conversion, what is typically not neccessary for email invitations).
Flags: needinfo?(makemyday)
| Reporter | ||
Comment 6•10 years ago
|
||
Full message: https://pastebin.mozilla.org/8855140.
Flags: needinfo?(makemyday)
Comment 7•10 years ago
|
||
Lightning behaves correctly. The specified start and end times are explicitely utc without any offset (z suffix is equivalent to UTC)
>DTSTART:20151222T093000Z
>DTEND:20151222T103000Z
So this is a Google issue or maybe related to a faulty operation/configuration of the sender.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(makemyday)
Resolution: --- → INVALID
Comment 8•10 years ago
|
||
What timezone do you have configured as your local timezone in Lightning? If none, you should do that.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
| Reporter | ||
Comment 9•10 years ago
|
||
> >DTSTART:20151222T093000Z
> >DTEND:20151222T103000Z
>
> So this is a Google issue or maybe related to a faulty operation/configuration of the sender.
It seems to be right – 09:30 in UTC+00 should be displayed as 12:30 for my UTC+03.
| Reporter | ||
Comment 10•10 years ago
|
||
Ok, now it's displayed correctly!
I have changed timezone in "Preferences - Calendar - General - Timezon - Europe/Moscow".
| Reporter | ||
Comment 11•10 years ago
|
||
Maybe setting `calendar.timezone.local` automatically is a good idea?
Flags: needinfo?(makemyday)
| Reporter | ||
Comment 12•10 years ago
|
||
I had "floating" value by default.
Comment 13•10 years ago
|
||
Resolving this to wfm as per comment 10.
Setting this without user interaction in a relibale cannot be always achived. For devices that provide their position it would be a valuable option, but usually desktop systems (and also notebooks) don't do so. That said, an automated detection may end up in not wanted results, so it's up to the user to set the proper timezone atm.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago → 10 years ago
Flags: needinfo?(makemyday)
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 14•10 years ago
|
||
So Thunderbird can't get system timezone?
Something like to what _/etc/localtime_ links in Unix systems, for example.
Flags: needinfo?(makemyday)
You need to log in
before you can comment on or make changes to this bug.
Description
•