Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Event Calendar feed appears on wrong date?


Go to End


6 Posts   1436 Views

Avatar
HeartlandTech

Community Member, 17 Posts

4 September 2010 at 3:49am

I'm trying to figure out an issue with how the Event Calendar works. I have it pointed to a feed for US Holidays, but the holiday (for instance Labor Day) shows across two days:

http://www.myheartland.org/church-wide/view/2010-09-06

When I import the individual ICS file into a calendar like iCal it shows just fine, but in the Event Calendar module it shows it across two days. When I click on the actual day (September 7th) it doesn't show . . . but it shows on the day before. The date definition shows a day for a holiday to be: day before 12:00 AM - day of 12:00 AM. Is this wrong? Or does Event Calendar show it wrong?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 September 2010 at 3:52am

That's a very much untested area of the module. Anything you want to contribute to make it better would be very valuable. Not many people have expressed interest in using it, so it's just kind of been collecting dust.

Out of curiosity, what is the ICS output for that date?

----------------
Silverstripe tips, tutorials, screencasts, and more.. http://www.leftandmain.com

Avatar
HeartlandTech

Community Member, 17 Posts

4 September 2010 at 4:20am

BEGIN:VCALENDAR
PRODID:-//www.myheartland.org//EN
CALSCALE:GREGORIAN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART;TZID=US-Eastern:20100906T000000
DTEND;TZID=US-Eastern:20100907T000000
URL:
SUMMARY;CHARSET=UTF-8:Labor Day
END:VEVENT
END:VCALENDAR

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 September 2010 at 4:56am

Your ICS is showing a different start/end date (sept 6 - 7), so it's actually displaying correctly in your calendar.

----------------
Silverstripe tips, tutorials, screencasts, and more.. http://www.leftandmain.com

Avatar
HeartlandTech

Community Member, 17 Posts

4 September 2010 at 5:10am

Yea, that's kind of odd . . . when I exported that date and brought it into iCal on the Mac it showed only on one day, but looking at the specs for the begin/end dates in the ICS specs, it is doing exactly as it should. I'm trying to find a way to add in holidays or other events without typing them all in on the calendar. I think I may need another ICS file with correct date ranges perhaps.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 September 2010 at 5:53am

Ideally, it would say 2010-09-06 with an "all day" flag checked. But I'm not sure if the EventCalendar parser will accept that.

----------------
Silverstripe tips, tutorials, screencasts, and more.. http://www.leftandmain.com