! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Orage defaults events to +0000 when reading certain iCal files
Status:
CLOSED: FIXED

Comments

Description feld 2012-06-15 16:04:47 CEST
I discovered this bug when trying to import some iCals from work into Orage. I've imported them many other places and never had an issue, but noticed that in Orage the events were all set at times of +0000 instead of -0600. When you open the events they show local time, but under the calendar where it lists "Events for 06/15/2012:" it has the wrong time listed which is confusing.

I started playing with the iCal files and eventually discovered that the issue was the following attribute at the beginning of the file:

TZID:America/Chicago

If I rename this to TZID:Chicago or remove that line completely Orage shows the correct times for these events. If I end up changing it to something like TZID:New York it doesn't give me NY's timezone, so I'm not completely sure there is any value in trying to change this line to anything useful at all.

The following is the top header of the iCal file (I can't post the entire calendar as it may include restricted information)


BEGIN:VCALENDAR
METHOD:PUBLISH
PRODID:-//REDACTED.net//NONSGML iCalcreator 2.4.3//
VERSION:2.0
X-WR-CALNAME:MARKF
X-WR-CALDESC:MARKF Calendar Description
X-WR-TIMEZONE;VALUE=TEXT:CDT
BEGIN:VTIMEZONE
TZID:America/Chicago
LAST-MODIFIED:19870101T000000Z
BEGIN:STANDARD
DTSTART:19971026T020000
TZOFFSETFROM:-0500
TZOFFSETTO:-0600
RDATE:19971026T020000
TZNAME:CST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19971026T020000
TZOFFSETFROM:-0600
TZOFFSETTO:-0500
RDATE:19970406T020000
TZNAME:CDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT

and here is information about my system:

$ uname -a
FreeBSD tech304.office.REDACTED.net 9.0-STABLE FreeBSD 9.0-STABLE #4 r234571: Tue May 22 14:15:22 CDT 2012     root@tech304.office.REDACTED.net:/usr/obj/usr/src/sys/GENERIC  amd64

$ date
Fri Jun 15 09:01:28 CDT 2012

$ pkg_info orage

$ pkg_info | grep orage
orage-4.8.3_1       A calendar application to manage your time with Xfce 4


I have tried building orage with and without libical support. It doesn't seem to make a difference and I'm not sure what libical support specifically changes.
Comment 1 juha editbugs 2012-06-16 09:45:30 CEST
This probably is duplicate of 7929 or slight variation.
But it should work if using local Orage libical.

I would need the dates from the event, which does not work. You can remove/change text parts. Just import the one event which does not work and edit the .ics file manually and remove texts? That should make it safe.
Comment 2 feld 2012-06-20 22:02:36 CEST
Created attachment 4515 
ics file that exhibits this behavior

I've sanitized this .ics file so you can use it in testing.


Thanks!
Comment 3 willemw12 2012-07-14 19:41:24 CEST
Same behaviour with an .ics file from Google Calendar.
The imported times seem to be in UTC time (-2 hours in my case) instead of local time.

Orage version 4.8.3 in Xubuntu 12.04 (Using operating system package libical).

Google Reader "Private Address" downloaded .ics file:

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:...@gmail.com
X-WR-TIMEZONE:Europe/Amsterdam
BEGIN:VTIMEZONE
TZID:Europe/Amsterdam
X-LIC-LOCATION:Europe/Amsterdam
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Amsterdam:20120708T190000
DTEND;TZID=Europe/Amsterdam:20120708T200000
RRULE:FREQ=WEEKLY;BYDAY=SU
DTSTAMP:20120714T164450Z
UID:...@google.com
CREATED:20120708T143354Z
DESCRIPTION:
LAST-MODIFIED:20120714T160332Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:...
TRANSP:OPAQUE
CATEGORIES:http://schemas.google.com/g/2005#event
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H10M0S
END:VALARM
END:VEVENT
END:VCALENDAR


(See step 2 in http://www.webupd8.org/2012/03/how-to-synchronize-google-calendar-with.html to get the URL to the .ics file.)
Comment 4 willemw12 2012-07-14 21:16:58 CEST
(In reply to comment #3)

Xfce 4.10 (PPA).
Comment 5 juha editbugs 2013-11-27 14:31:49 CET
I can reproduce this with the newest version.
Comment 6 juha editbugs 2013-11-29 09:43:37 CET
Fixed in 4.9.10.7.
Comment 7 juha editbugs 2013-12-11 08:13:26 CET
Fixed in 4.10.0

Bug #9028

Reported by:
feld
Reported on: 2012-06-15
Last modified on: 2013-12-11

People

CC List:
1 user

Version

Attachments

ics file that exhibits this behavior (11.47 KB, text/calendar)
2012-06-20 22:02 CEST , feld
no flags

Additional information