! 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 !
Timezone error + feature request
Status:
CLOSED: FIXED

Comments

Description Gajdos Tamás 2011-03-21 15:30:36 CET
I have a google calendar, and I created a sync script for it:
wget -nH -rK $GOOGLECALENDARICAL -O ~/.local/share/orage/orage.ics

My problem is, that I noticed that if for one-time-events (a meeting) the time display is normal, but for repeating (let say weekly classes) there is a -1 hour. (If the class starts in GoogleCalendar 8:00, then Orage says 7:00).

I am in Europe/Budapest timezone both in Google Calendar and in Orage.

+Feature request: 
1. Add field, where I can write in a command, which will run at the desired time (simple sync) OR
2. Include "my script"-like functionality. [Write the URL into a field, sync at a desired time] (normal sync) OR
3. Create a google calendar sync feature. (advanced sync)

If you need any extra info about the bug or about the feature request, don't hesitate writing to me.
Comment 1 juha editbugs 2011-03-22 09:01:20 CET
Can you paste the working single event and the failing repeatign event, so that I can see how those VEVENTs look like.

Enhancements:
1) This should be possible by creating cmd type alarm.
2) should not be needed as 1) is there.
3) major task. I do not think that will happen.
Comment 2 Gajdos Tamás 2011-03-22 13:31:53 CET
Created attachment 3576 
As requested: examples for working and not working events.

I've added some comments (How does it look like in Google Calendar, and how in Orage).
Comment 3 juha editbugs 2011-03-23 08:29:42 CET
Those tests all work in my environment.

The difference between working and non working is timezone definition. Non working examples have Europe/Budapest timezone when working has been created using UTC timezone.

Can you try using example event with the Europe/Budapest timezone and compare that to another test event with UTC. I suspect there is something wrong in Europe/Budapest timezone definition in Orage. 

You may try to replace your Budapest.ics file if it differs from the correct:
Working Budapest.ics timezone definition:
BEGIN:VCALENDAR
PRODID:-//Ximian//NONSGML Evolution Olson-VTIMEZONE Converter//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:/softwarestudio.org/Olson_20011030_5/Europe/Budapest
X-LIC-LOCATION:Europe/Budapest
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
END:VCALENDAR
Comment 4 Gajdos Tamás 2011-03-23 08:54:30 CET
Thanks! This worked: I opened the orage.ics and changed the first lines from this:
BEGIN:VCALENDAR

PRODID:-//Google Inc//Google Calendar 70.9054//EN

VERSION:2.0

CALSCALE:GREGORIAN

METHOD:PUBLISH

X-WR-CALNAME:gajdipajti@gmail.com

X-WR-TIMEZONE:Europe/Budapest

BEGIN:VTIMEZONE

TZID:Europe/Budapest

X-LIC-LOCATION:Europe/Budapest

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

to yours.

Now the only thing remains, that I will write a sed script, and it will be executed just after the wget download has completed, to correct this timezone error. But this is my job.
Thank you again. I think I will call it fixed now.
Comment 5 juha editbugs 2011-05-31 22:41:30 CEST
Fixed in 4.8.1

Bug #7428

Reported by:
Gajdos Tamás
Reported on: 2011-03-21
Last modified on: 2011-05-31

People

CC List:
0 users

Version

Attachments

As requested: examples for working and not working events. (2.37 KB, application/octet-stream)
2011-03-22 13:31 CET , Gajdos Tamás
no flags

Additional information