localendar Forums Homepage


Print at Sep 24, 2025, 1:26:06 AM

Posted by bdperkin at Jan 2, 2014, 7:30:59 PM
Recurring all day events in iCal format should end on correct day of month and not include time in RRULE
Apologies if this is documented somewhere, but I have literally spent hours looking for an answer to this or workaround, but I'm more and more convinced it's a bug. As a result, I'm going to write this post as a bug report more than a general thread.

Description of problem:
Recurring all day events in iCal format should end on correct day of month and not include time in RRULE

Version-Release number of selected component:
Whatever version of code that was running on Thu Jan 2 19:00:00 UTC 2014

How reproducible:
Always

Steps to Reproduce:
1. Login and navigate to http://www.localendar.com/elsie
2. Click on "Add Event" from the local navigation on the left.
3. Enter an event title in the "Title" text field. For example: "Test 00".
4. Select the "All Day Event" radio button in the "Time" input field.
5. Expand the "This event repeats" section.
6. Select the "Repeat Daily (until date above)" radio button.
7. Modify the "Repeat Until" drop-down to be some date in the future. For example: "January 1 2014".
8. Press the "Save" button.
9. Test 1: View public web interface: http://www.localendar.com/public/[username]
10. Test 2: View "RRULE" field of event created: curl -s http://www.localendar.com/public/[username]?style=X2 | grep ^RRULE

Actual results:
Test 1: Repeated event matches specification
Test 2: The "UNTIL" attribute of the RRULE field is an additional day out (02 instead of 01, in this case) and includes a time:
$ curl -s http://www.localendar.com/public/bdperkin?style=X2 | grep ^RRULE
RRULE:FREQ=WEEKLY;UNTIL=20140102T190000Z;BYDAY=SU,MO,TU,WE,TH,FR,SA

Expected results:
Test 1: Repeated event matches specification
Test 2: The "UNTIL" attribute of the RRULE field is the expected end day and does NOT include a time:
$ curl -s http://www.localendar.com/public/bdperkin?style=X2 | grep ^RRULE
RRULE:FREQ=WEEKLY;UNTIL=20140101;BYDAY=SU,MO,TU,WE,TH,FR,SA

Additional info:
This was found while using a public calendar as a URL through Google Calendar. The repeated all-day events result in appearing as running one additional day in Google Calendar. Manually modifying the ics and importing it works, therefore, I believe that if this change is made on localendar server-side, this fix should "just work".

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us