WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] ICS and Time Zones (28 posts)

  1. adammlowe
    Member
    Posted 3 years ago #

    Hi, I am trying to access the events.ics (which works fine), however, when I do, the time zone is set incorrectly. How can I ensure the correct time zone is set? (My WP time zone IS correct).

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    what do you mean by timezone, is that so events already past are still showing?

  3. adammlowe
    Member
    Posted 3 years ago #

    No - when I add the generated ICS to a calendar the events are shown at the wrong times (because the ICS is set to the wrong time zone).

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    ah i see what you mean now. will look into that.

  5. planetMitch
    Member
    Posted 2 years ago #

    Hi Guys!

    this seems like the right place to ask this since you've already covered the timezone question (which I still don't think works).

    I have events that I put in a location called "Internet" because they're live shows I'm doing on UStream - when I put in the time based on my own time zone (which is what the server is set to), when people request the events.ics, it gets converted to the proper GMT.

    But I'm also using the new beta where the users can submit their own events and they could be anywhere around the world. They would have to convert the time to my timezone when they enter the time.

    And I don't want to change my server time to be GMT (which I think could be a potential solution). That would be fine if all I did was to have these universal events.

    It would seem to me that the best option would be to give them a drop down for them to select the timezone for the event. This dropdown would also be added to the management side of the event creation and maintenance please.

    Adding a drop down and making the plugin handle all the conversions would seem to make the most sense. This is what I had to do when I was developing a scheduling system a couple of years ago. The users couldn't be trusted to figure out what the right GMT was for an event. but they could specify the local time quite easily.

    Thanks!
    planetMitch

  6. GradientVector
    Member
    Posted 2 years ago #

    Has this issue been resolved yet? I have the same problem.

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    should be. are your timezone settings right in General > Settings?

  8. planetMitch
    Member
    Posted 2 years ago #

    Marcus

    yes, the timezone is set in my blog. That's not the problem.

    when a user comes in to the form to create an entry and to put in the time, they don't know what timezone my server is set to and therefore they can't set the time correctly. I've had someone come in and enter an event for somewhere in europe and the server timezone is set for central time USA. I think the solution needs to be a dropdown for them to set the timezone of the event.

    also:

    There's also still a problem with the titles (I mentioned this a long time ago on your forum) that come thru on the events.ics - the titles have the city and the date and time appended (and the city has an extra '\' on it. - none of that needs to be in the title please.

    Here's an example: https://skitch.com/mitch/fwuai/ical - in this example, the title of the event is "event cinema workshop - edited' and all this extra stuff is put in the title automatically in the .ics

  9. planetMitch
    Member
    Posted 2 years ago #

    oh, if it helps, here's my .ics file

    http://blog.planet5d.com/events.ics

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    timezones is something i will add eventually

    I guess for now I could add a little notice underneath mentioning the blog time?

    btw, what calendar is that, out of curiosity?

  11. planetMitch
    Member
    Posted 2 years ago #

    Marcus

    I run a blog about cameras that shoot video (new breed called HDSLRs) - my calendar shows when I'm going to be doing podcasts live as well as training events and meetups where people are going to be getting together.

    Any chance of fixing the things I noted above that are showing up in the .ics?

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    will check it asap, probably to do with escaping commas etc.

  13. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    hey planetMitch,

    check out the dev, options now in settings page > calendar format. However, I couldn't fix the locations issue, not happening to me (even with your calendar when viewing in google cal). if it's still happening to you, let me know in a new post.

  14. aWEBthatWORKS
    Member
    Posted 2 years ago #

    I'm having the same problem, my site shows online events, so I need to attach a timezone to each one. Has anyone had any luck with this? I was thinking I could use an event attribute, but this seems clunky for the people loading in their events. Does anyone have a work-around?

  15. planetMitch
    Member
    Posted 2 years ago #

    Marcus

    just wanted you to know I appreciate the options in the calendar format to change the calendar items in the feed. Worked like a charm... tho I did end up with items that said DQUOTExxxxDQUOTE when I had a title like "xxxx" (changed to single quotes and that worked fine)

  16. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    atm the only timezone used is that of the blog in General > Settings

    @planetMitch will check the quotes issue again

  17. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    check the dev version, this should be fixed now

  18. pawriter
    Member
    Posted 2 years ago #

    I think this is probably the right thread in which to continue timezone discussion.
    Since, if I read this thread correctly, the only timezone setting used is the one in General > Settings I assume that all events dates and times are set according to that clock. As I anticipate events to be created all around the world I have set the General > Settings timezone to Apia in Western Samoa.
    My thinking here is that as events are created in various countries using what appear to the creator as local dates and times they will remain in the 'future' events list until the inserted date and time have expired in Samoa.

    Is this correct?

    Thus an event created by me in Australia to take place from 9am to 3pm on 30th November 2011 will remain visible to all users until that date and time in Apia - although by the time it does expire it will be 5pm on 1st December here on Australia's east coast.

    If, on the other hand, I was to set the timezone according to Australian time then, an event created for a venue on the west coast of USA would expire some 18 (or 19) hours before it actually takes place.

    Have I got this right?

    If my thinking is correct then it is just necessary to emphasise to users that when they create events they use local dates and times but when they view events they need to be aware of the event location and the fact that dates and times are local to that location.

    Like some of the other contributors to this thread I should like to be sure of how it works because there is a possibility that some users will travel to events, others my attend by video conference and some attend in person but locally.

    Sorry for such a long question.

    Regards

    Paul

  19. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    eventually we'll look at event-specific timezones, but atm it's just one timezone which would present this sort of limitation

  20. pawriter
    Member
    Posted 2 years ago #

    Thanks Marcus,
    I think I can manage the limitation in the prototype for my community, so far nobody has bothered to try setting up an event from another country anyway.
    Regards
    Paul

  21. sccr410
    Member
    Posted 2 years ago #

    We are having issues with our iCal file as well. On our website, everything appears properly but in the iCal file no timezone is set so most iCal readers default to GMT when we are on PST resulting in times being way, way off.

    http://nottsforestsoccer.com/boys2002b/events/
    http://nottsforestsoccer.com/boys2002b/events/events.ics

    Timezone is configured in the admin properly. This is a WordPress multisite install.

  22. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    could it be your timezone on the sub-blog or root blog isn't right?

  23. sccr410
    Member
    Posted 2 years ago #

    Timezone is set properly in the root blog, sub blogs don't have the General Settings tab to define a timezone.

  24. Starship
    Member
    Posted 2 years ago #

    I'm not sure if this is specific to the nottsforestsoccer ics file (mentinoed above) .. but I think I can explain what the problem is, and hopefully Marcus can come up with a solution .. either in the code or specific to that blog ..

    The times are entered as Pacific .. and they show up just fine on the calendar. In the ICS file, the the DTSTART and DTEND are *supposed* to be converted into Zulu time .. and while they do have a "Z" on the end of them, the timestamp is still Pacific .. (Note: its actually an hour off as well, no doubt a daylight savings issue where its recording PDT instead of PST or vice versa) ...

    The point is .. when Google Calendar (or anything else) reads in the file, it *thinks* it is in Zulu/UTC/GMT time .. but the stamp is not being adjusted to that time when outputted to the .ics file.

    Example:
    An event happening May 23rd @ 5pm Pacific has a
    DTSTART:20120523T180000Z

    (Which is 6pm) ... clearly not the Zulu time ... which should be... if I'm not mistaken ... 6hrs later (thus 7hrs ahead of the original time [GMT -7:00])
    So .. something like
    DTSTART:20120524T000000Z

    So, is it the individual blog's fault that the timestamp isn't properly being converted to Zulu .. or is the plugin?

  25. Starship
    Member
    Posted 2 years ago #

    As a quick addition ... I looked at the main blog's calendar for this site and it is behaving properly. This is indeed a sub-blog issue .. I'm not sure how that helps debugging .. but there you have it.

  26. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    two things to seperate here, ICS and calendars/listings on the site (not the fullcalendar, just the plain html stuff).

    The listings on the site show the time as typed in, no adjustments. So it'll always be correct.

    ICS should now adjust according to the offset of the blog. I'm now very certain this is working as expected. Check out the demo site and let me know if times are off. It's set to Madrid time, so it's in DST now and it's 2hrs ahead of UTC. From what I can see, it works fine now.

    @sccr410 check your user roles, because you can do this in MS (just checked)

  27. sccr410
    Member
    Posted 2 years ago #

    I don't know what you want me to check in regards to user roles. I cannot find any way to define the timezone for a sub blog anywhere in my admin area.

  28. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you should raise that as a seperate issue on the forum, as it's not something to do with EM.

    by roles I mean you may have a plugin that limits what a user like an administrator can do, or maybe try logging in as a super admin if you're not already doing that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic