Possible to restrict time zones?

Home Forums Calendar Products Community Events Possible to restrict time zones?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1446550
    Brent
    Participant

    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?

    #1448227
    Andras
    Keymaster

    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

    #1448290
    Andras
    Keymaster

    Hi again,

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

    https://gist.github.com/andrasguseo/f5c38a01e047da9a0bf0c955d905179a

    Check and let me know if that does the trick.

    Cheers,
    Andras

    #1448861
    Brent
    Participant

    This did the trick. Thank you!

    #1450365
    Andras
    Keymaster

    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!

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Possible to restrict time zones?’ is closed to new replies.