Calendar displays appointments/meetings at incorrect times

Bug #254980 reported by Jamie Strandboge
56
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Evolution
Unknown
High
evolution (Debian)
Fix Released
Unknown
evolution (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evolution

evolution 2.22.3.1-0ubuntu1 on Hardy does not use the correct timezone when adding calendar events or displaying reminders. My timezone is set to America/New_York (-0400, currently in daylight savings). This is confirmed with 'dpkg-reconfigure tzdata'. Evolution preferences are setup to America/New_York. Output of date:

$ date
Tue Aug 5 09:41:48 EDT 2008
$ date -u
Tue Aug 5 13:41:50 UTC 2008

If I am in 'day view' of the evolution calendar, and I double click on the '12pm' time slot, the Appointment editor dialog displays the time as '4pm', but the Appointment editor dialog shows the timezone as 'America/New_York'. It doesn't seem to make a difference if I choose another timezone, the times are always wrong in the appointment editor. Interestingly, if I double click '12pm', the editor shows '4pm', then if I don't change the time at all and save the appointment, it shows up in the calendar as '8pm'. Creating a new calendar and adding a single event as described (ie double click 12pm, is displays 4pm in edit, save, displays 8pm in evolution) results in:

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:/softwarestudio.org/Tzfile/America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:STANDARD
TZNAME:EST
DTSTART:19701102T010000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:EDT
DTSTART:19700308T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:20080805T134927Z-19543-1000-1-97@severus
DTSTAMP:20080805T134927Z
DTSTART;TZID=/softwarestudio.org/Tzfile/America/New_York:20080805T160000
DTEND;TZID=/softwarestudio.org/Tzfile/America/New_York:20080805T163000
TRANSP:OPAQUE
SEQUENCE:2
SUMMARY:bar
CLASS:PUBLIC
CREATED:20080805T134952
LAST-MODIFIED:20080805T134952
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20080805T134952Z-19867-1000-1-14@severus
DESCRIPTION:bar
ACTION:DISPLAY
TRIGGER;VALUE=DURATION;RELATED=START:-PT1H
END:VALARM
END:VEVENT
END:VCALENDAR

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Changed in evolution:
status: Unknown → New
Changed in evolution:
status: Unknown → Confirmed
Changed in evolution:
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

does anybody still get the issue in jaunty?

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I no longer see this with 2.26.1-0ubuntu1. I also commented in the upstream bug.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I don't see this issue with 2.26.1-0ubuntu1 in jaunty anymore. I didn't see it with 2.26.0 either.

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing tthe bug since that works now

Changed in evolution (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Mark Dwyer (mdwy62) wrote :

I don't know if this is the same bug or not, but icsl times are not displayed correctly in my Evolution emails. I am using Jaunty but this problem goes back to Gutsy, at least for me. I received an .ics attachment from the East Coast for a meeting at 14:30 EDT/11:30 PDT. I am on PDT. Rather than showing the call at 11:30, it shows it as being at 10:30. I've attached the meeting.ics file. I can't seem to copy and paste how this is displayed in Evolution.

I note that in Thunderbird, the time is listed as 14:30 EDT - that is - at least it is listed correctly for the East Coast.
When: Thursday, June 11, 2009 2:30 PM-3:00 PM (GMT-05:00) Eastern Time (US & Canada).
Where: call : (877) 996-9723 passcode: 7466047
*~*~*~*~*~*~*~*~*~*

Revision history for this message
Mark Dwyer (mdwy62) wrote :

Sorry - I didn't have the timezone set correctly in evolution. It works as it should.

Revision history for this message
kamome (kamome) wrote :

I'm seeing this on lucid.
Using local time (hwclock and date show the same time (Germany)), an appointment's time in evolution proper is being displayed correctly, the time of the same appointment in the panel's calendar is off by two hours; also, a notification that I set is not being displayed (at either time).
Ticking "Use system time zone" from "Edit > Preferences > Calendar and Tasks" fixes the behaviour for me (the times are correct in both places and the notification is being displayed). The default should be to use the same time throughout the system, this is what one would expect - should there be a _very_ good reason for this unexpected default behaviour, one should be notified of the fact and the notification should at least be displayed at either time.
Attached, find a screenshot of the evolution calendar overlapped with the panel's calendar plus said setting.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I occasionally get this behavior, and have traced it to /usr/share/zoneinfo/UTC being replaced with my own timezone file. I still haven't figured out what causes it, but it seems to be caused by system updates.

To reinstall the original UTC file:

apt-get --reinstall install tzdata

Attached is a list of packages that were updated at the exact time my UTC file got altered.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
Revision history for this message
Lorant Nemeth (loci) wrote :

This might be related:

I've seen for at least a year now (even now with Lucid), that sometime either all or some entries are not dsiplayed in the calendar according to my correct timezone. Todays experiment showed, that if I was in calendar view before stopping evolution (no matter if just closing it or using --force-shutdown) after the startup entries are displayed 1 hour shifted. These meeting request were most probably sent from a with correct timezone information and if I move the cursor over them, the correct time and timezone info is shown.. I repeated stopping and starting evo and leaving it in calendar view and I got the same behaviour every time. Once I restarted evo while in mail view (and waited till mailbox gets updated) after switching to calendar view all entries were shown in the correct time.
Please note, that I'm using exchange calendar.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

@Lorant: I don't think your issue is related. Please file a separate bug for that.

Revision history for this message
bionicdude (m-launchpad-bionicdude-com) wrote :

If i run date in a terminal, it shows the correct date and time. My panel clock shows a different time, however.
Current default time zone: 'Europe/London'
Local time is now: Sat Jun 26 11:42:59 BST 2010.
Universal Time is now: Sat Jun 26 10:42:59 UTC 2010.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

My panel clock shows 10:24 !! <--yes 24 - I haven't transcribed those digits...

11:42 is the correct time.

Is this a related issue, or am i missing something simple here?

Revision history for this message
bionicdude (m-launchpad-bionicdude-com) wrote :

please ignore my above comment...I had a blonde few minutes here ^^
sorry

Changed in evolution:
importance: Unknown → High
status: Incomplete → New
Changed in evolution:
status: New → Incomplete
Changed in evolution:
status: Incomplete → Invalid
Changed in evolution (Debian):
status: Confirmed → Fix Released
Changed in evolution:
status: Invalid → Confirmed
Changed in evolution:
status: Confirmed → Incomplete
Changed in evolution:
status: Incomplete → Confirmed
Revision history for this message
kamome (kamome) wrote :

I'm not using evolution, anymore - but what is this?!! Or what is Bug Watch Updater doing?
Is this supposed to be confirmed or incomplete or invalid or fix released?

Changed in evolution:
status: Confirmed → Unknown
Revision history for this message
Manuel Torrinha (t0rrant) wrote :

I can confirm this on evolution 3.18.5.2-0ubuntu3.1

My local timezone is set as UTC

Added EventA at time HH:MM with timezone America/New York (UTC -05:00)

EventA is added with time hh:mm where mm hh = HH + 05:00 instead of -05:00

Working around this by setting incorrect event timezone on the event. Should not be that hard to find where wrong operation is...

Cheers

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.