We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

[bug] Recurrence UNTIL rule part not interpreted correctly in calendar

asked 2014-06-27 23:29:52 +0200

paulvt gravatar image

updated 2014-07-04 15:26:42 +0200

The until part of recurrence rules seems to be interpreted exclusively, while it should be inclusive according to the specifications.

Example: - Use Evolution to create an appointment that starts on Monday July 16, let it recur daily until Thursday July 19. The appointment will show up for Monday, Tuesday, Wednesday, Thursday. - Then, start a sync on the Jolla phone and check the calendar. The appointment only shows up for Monday, Tuesday and Wednesday.

If you inspect the UNTIL part of the RRULE of the VEVENT on the server, it is set to UNTIL=20140619. RFC 5545 specifies for the recurrence rules that it should be interpreted inclusively, see https://tools.ietf.org/html/rfc5545#section-3.3.10.

edit retag flag offensive close delete

Comments

I suppose this would be with caldav sync?

Pekka Vuorela ( 2014-07-04 14:07:31 +0200 )edit

Yes, this was kind of implicit as there is no other way to have another client create an appointment and then Jolla Calendar incorrectly interpreting it. I will add the caldav & sync tags, thanks.

paulvt ( 2014-07-04 15:25:58 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-11-15 17:37:02 +0200

ralooyar gravatar image

@paulvt: Is this problem still valid for you?

I tried this with Thunderbird (Lightning), Baikal Server and Jolla (1.0.8.21, Tahkalampi):

I created an event, starting at 15.11.2014, repeating daily until 18.11.2014. After syncing this to my jolla phone, I can find this event at 15.11.2014, 16.11.2014, 17.11.2014 and 18.11.2014.

So I can't reproduce this problem. But I am not shure if this is becaue of my jolla version, or the other programms.

edit flag offensive delete publish link more

Comments

Yes, created an event with Evolution on top of the DAViCal server recurring from today (15/11/2014) until 17/11/2014 and after syncing I can find the event at 15/11/2014 and 16/11/2014 but not on 17/11/2014. I have downloaded the ICS file and it lists: [...] RRULE:FREQ=DAILY;UNTIL=20141117 [...]

paulvt ( 2014-11-15 17:43:13 +0200 )edit

Which jolla version do you use?

My Baikal Server lists [...] RRULE:FREQ=DAILY;UNTIL=20141118T171500Z [...]. And importing this, creates events including the 18.11.2014.

ralooyar ( 2014-11-15 17:54:13 +0200 )edit

Ah, so maybe it interprets just a date as UNTIL=20141117T000000Z and thus the last day is not really included?

I'm using SailfishOS 1.1.0.39 (Uitukka).

paulvt ( 2014-11-15 17:56:28 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-06-27 23:29:52 +0200

Seen: 252 times

Last updated: Nov 15 '14