Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar feed appears on wrong date?

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 995 Views
  • HeartlandTech
    Avatar
    Community Member
    17 Posts

    Event Calendar feed appears on wrong date? Link to this post

    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?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar feed appears on wrong date? Link to this post

    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

  • HeartlandTech
    Avatar
    Community Member
    17 Posts

    Re: Event Calendar feed appears on wrong date? Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar feed appears on wrong date? Link to this post

    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

  • HeartlandTech
    Avatar
    Community Member
    17 Posts

    Re: Event Calendar feed appears on wrong date? Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar feed appears on wrong date? Link to this post

    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

    995 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.