WordPress.org

Ready to get started?Download WordPress

Forums

amr ical events lists
[resolved] 1 Day Off (3 posts)

  1. Vajaah
    Member
    Posted 1 year ago #

    I'm using AMR iCal Events List to output a widget (on the home page) and a calendar w/ an agenda view. The dates within the ICS file are correct but when viewing the output on the site or your testing site, the events begin a day early. The timezones reflected in the plugin seem to be correct. I'm not sure how to further troubleshoot.

    I've needed to pull the ICS into Google Calendar and pull the Google Calendar into the plugin as seen here and here.

    Thank you for a highly flexible plugin. Your help is much appreciated!

    http://wordpress.org/extend/plugins/amr-ical-events-list/

  2. anmari
    Member
    Plugin Author

    Posted 1 year ago #

    Problem is I think that the plugin does not like the TZID Eastern Standard Time. It is not one that is used by php http://www.php.net/manual/en/timezones.america.php
    Php prefers America/New_York

    The ics spec RFC5545 uses those examples eg: DTSTART;TZID=America/New_York:19980119T020000

    The spec is a bit vague here http://tools.ietf.org/html/rfc5545#section-3.2.19 in that it doesn't insist on a naming convention, but suggests using the Olson db.

    Your ics file,produced by microsoft, and is generating dates like:
    DTSTART;TZID=Eastern Standard Time:20120818T000000
    It seems microsoft has ignored the suggestion
    http://stackoverflow.com/questions/7436629/is-there-a-workaround-for-lack-of-olsen-tz-tzid-format-in-ics-file

    Google is probably fixing up the timezones and issuing the commonly accepted olson db tzid's.

    The plugin does have some funky logic to try to make sense of most timezones, but is spewing on this one and ending up with London, which of course then throws the times out

    http://test.icalevents.com/?p=4144&preview=true&tzdebug

    So if you use an ics generator thats use olson TZID's (or amr-events :-) ) then it should work fine.

  3. Vajaah
    Member
    Posted 1 year ago #

    Thank you very much for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags