Help Desk

Possible to restrict time zones?

  • Posts: 1 Topics: 1
    | Permalink

    Our calendar will be hold events in multiple time zones, but only in the 5 time zones across North America. How can I modify the current extensive list of time zones to limit to the 5 we need and simplify things for users?

    Posts: 5720 Topics: 2
    | Permalink

    Hi Brent,

    Thanks for your question!

    We are using the timezones from WordPress core. So you would need to tap into that list and that probably would have an effect on the event timezone list too.

    However this is a WordPress core related issue in this sense and beyond the scope of our support. I will try to look around a bit if that is possible and how and I’ll get back to you if I find something.

    Cheers,
    Andras

    Posts: 5720 Topics: 2
    | Permalink

    Hi again,

    A teammate was kind enough to take a look at this and came up with this snippet.

    Check and let me know if that does the trick.

    Cheers,
    Andras

    Posts: 1 Topics: 1
    | Permalink

    This did the trick. Thank you!

    Posts: 5720 Topics: 2
    | Permalink

    Happy to hear that helped! Awesome!

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.

    Cheers,
    Andras

    PS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
    https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
    https://wordpress.org/support/view/plugin-reviews/event-tickets/

    PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!

     

    | Permalink

The topic ‘Possible to restrict time zones?’ is closed to new replies.