WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
Events are given a date of December 31, 1969 (12 posts)

  1. jkane1517
    Member
    Posted 2 years ago #

    I am using the ICS feed option in the calendar. It does import events, but all events are given a date of December 31st, 1969. If I go in and manually change the date to say January 7th, 2012, they appear on the calendar as you would expect.

    My ICS feed originates from Microsoft exchange. When I look at the ICS file, I do see that the DTStart lists the correct date. However, when they appear in wordpress, the date has been changed to December 31st, 2012.

    Thanks for any assistance.
    ~Jkane

    A snipet of my ICal file as follows:------------------
    BEGIN:VEVENT
    CLASS:PUBLIC
    CREATED:20111221T195852Z
    DESCRIPTION:\n
    DTEND;TZID="Eastern Standard Time":20111222T203000
    DTSTAMP:20120108T183035Z
    DTSTART;TZID="Eastern Standard Time":20111222T190000
    LAST-MODIFIED:20111223T011537Z

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. jkane1517
    Member
    Posted 2 years ago #

    Just a follow up with additional testing...
    I can send my ical feed from exchange to a google calendar and the time and date come through fine. It would appear that the issue is when the feed goes from exchange to all-in-one-calendar as described above.

  3. Yani Iliev
    Member
    Posted 2 years ago #

    @jkane1517

    Can you create just 2 events in MS Exchange, export it as ICS feed and share it on wordpress.pastebin.com ?
    I will test it locally and see what is wrong.
    Don't forget to tell me the location of your ics feed on pastebin.

    Thanks!

  4. liquid7sid
    Member
    Posted 2 years ago #

    I am having the exact same problem, can you please notify me when it is resolved?

  5. Yani Iliev
    Member
    Posted 2 years ago #

    @liquid7sid
    Can you share your feed so that I can test?

  6. liquid7sid
    Member
    Posted 2 years ago #

  7. Yani Iliev
    Member
    Posted 2 years ago #

    @liquid7sid
    In your feed, the timezone is set to US/Eastern.
    Looking at php timezones it seems that your timezone is no longer supported.
    Do you have control over the timezone in the application that you are exporting from?
    Can you change your timezone to something that is supported?
    Here is a list of all supported timezones in America: http://www.php.net/manual/en/timezones.america.php

  8. tarundeology
    Member
    Posted 2 years ago #

    Hello yani,

    I'm trying to show past events in events archive page like this:
    http://www.misi.edu.my/archive-test-page/

    I have successfully call the event Title/link and location but not the date. I used the code below to call the date:
    <?php echo date('F d, Y', $obj->start); ?>

    As you can see, the date for all events are set to January 01, 1970 but if you go to the single event page, the date is correct. Is it possible to fix this?

    Thank you.

  9. Yani Iliev
    Member
    Posted 2 years ago #

    @tarundeology
    1. Make sure that $obj->start is set.
    2. The code needs to be changed from:
    <?php echo date('F d, Y', $obj->start); ?>
    To:
    <?php echo date_i18n( 'D, F j', $obj->start, true ) ?>

  10. BikerDown
    Member
    Posted 2 years ago #

    Yani, my time zone is set, and I am getting the exact same date.

  11. Yani Iliev
    Member
    Posted 2 years ago #

    @BikerDown
    What is your timezone set to?

  12. jomille
    Member
    Posted 2 years ago #

    I am having this same issue with my feed. Is there any resolution? The feed is using Central Standard Time and my blog is using Eastern Time. Would this cause an issue? I can provide the link to my feed if needed.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic