Help Desk

Import XML reading UTC timezone instead of Los Angeles

  • Posts: 3 Topics: 3
    | Permalink


    My site is importing several event feeds from Eventlink and the individual events get set to the timezone of UTC which they should not. The events are actually Los Angeles (PST) timezone. (note – this is UTC -8 or UTC -7 depending on the time of year). I looked at the code of one of the .ics files and I think I see the issue but not sure what to do about it.

    PRODID:-//Google Inc//Google Calendar 70.9054//EN
    X-WR-CALNAME:Army and Navy Academy

    As you can see in the code, the X-WR-TIMEZONE is set to UTC which I believe is what Events Calendar is using as the event timezone during import. What the plugin is failing to do is understand that the timezone is actually -0800 or -0700 (depending on daylight savings) which is listed below it in the TZOFFSETFROM and TZOFFSETTO.

    There are also several other spots in the code that show that this should be PDT if you look at the items for TZID, X-LIC-LOCATION, or TZNAME.

    3 attached screenshots:
    1) screenshot of an imported event on our calendar that shows the import timezone as UTC.
    2) screenshot of Event Calendar timezone settings (Events > Settings > General)
    3) screenshot of WordPress timezone is set to Los Angeles for this site under Settings > General

    Lastly, here is the .ics feed I referenced above:

    Posts: 5088 Topics: 2
    | Permalink

    Hello Scott,

    Thanks for reaching out!

    I tested this and can confirm this is happening.

    I have opened a bugticket so our developers can take a look at the issue.

    I am going to set the status of this ticket to “pending fix” and we will update it once the fix is released.

    If you have any new questions or issues please create a new ticket and we’ll help you out.

    Thanks and cheers,

    Posts: 3 Topics: 3
    | Permalink

    Hi, Any update on this issue? We are anxious to get our winter sports events up on our calendar, but cannot do so because of this issue showing the wrong time. Your help is appreciated.

    Posts: 5088 Topics: 2
    | Permalink

    Hello Scott,

    Thanks for pinging me.

    There is no update for this bug yet. When the issue was reported and I opened the bugticket our team was already well into the development of the upcoming maintenance release, which will be the last one this year, so it did not make it into that one.

    After this MR is released we will start scoping the bugs for the next one, but that will likely only happen in the new year, so I need to ask for a bit of patience from you. Thanks!

    Happy Holidays,

    Posts: 3 Topics: 3
    | Permalink

    One additional note to this issue – We have noticed that when our iCalendar feed is imported if the event is an “All Day” event then the above issue happens where the event is converted to UTC time by plugin. If the event has a specific time (10:30am-11:30am for example) then the time is kept in Los Angeles, PST.

    Posts: 5088 Topics: 2
    | Permalink

    Hi Scott,

    Thanks for sharing that extra info.

    I ran some further tests and if the time is defined like this:


    Then the timezone will be taken into account. Otherwise it is skipped even though it is defined at the beginning.

    We’ll take a look at it.


This thread hasn’t seen any activity for quite some time and we are not accepting further replies.

If you need further help with this or any other issue, please create a new topic (you can of course include a link to this one if that helps to provide additional context) and one of the team will be only too happy to help.