• Resolved shanafourde

    (@shanafourde)


    I have just installed the plugin and haven’t changed any settings.

    Some event times are listed like this:
    September 9, 2010
    9:00 am 11:00 am

    and some are listed like this:
    September 10, 2010
    7:00 pm Until September 10, 2010
    8:00 pm

    I prefer the top method when the events occur on one day. Why are the events showing different?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author anmari

    (@anmari)

    It is probably a timezone related thing – please post your ics file link and your wp timezone (and your calendar page if public) and whether you are requesting another timezone in the shortcode.

    If it thinks that the end date is the same as the start date, then the plugin suppresses the end date – which is the first scenario. (being both am times, they may be on ‘same day’ in whatever tz.

    In the second scenario, it may be that the initial processing is being done in one timezone and the end date/time is possibly on the next day.
    Then if for final display it is converting to the display timezone which may be different from the other tz, it may show the end date. A bug – but to sort it out, need to know under what circumstances it is occurring.

    So anyway if you send me your info, I can try to recreate on my end.

    Thread Starter shanafourde

    (@shanafourde)

    http://granadadayschool.com/calendar2/

    http://www.google.com/calendar/ical/g09tfr7bm48ll5lfu14ir5o5go%40group.calendar.google.com/public/basic.ics

    The WordPress Timezone that I am using is “New York”

    PHP is 5.2.9

    date localization method is “amr”

    Timezone: America/New_York. Current UTC offset: -4
    Switches to standard time on 07 Nov 2010 @ 01:00. GMT offset: -5 (EST)

    Current time (unlocalised): Wed, 21 Jul 2010 20:44:48 -0400

    Is that all you need?

    Plugin Author anmari

    (@anmari)

    Hi shanafourde,

    That was exactly it – the ics file events are in UTC (very usual) and some going over midnight in UTC.

    A couple of minor code changes to move the event date into destination timezone before cleaning up unnecessary fields.

    version 2.9.2 should be visible soon – it’s on wordpress.org now

    Thread Starter shanafourde

    (@shanafourde)

    perfect! Thank you so much for the fix and for being so prompt with the response. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: AmR iCal Events List] Event times showing two different ways’ is closed to new replies.