UTC vs GMT

Home Forums Calendar Products Community Events UTC vs GMT

  • This topic has 6 replies, 2 voices, and was last updated 6 years ago by Ryan Clover-Owens.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1459557
    Ryan Clover-Owens
    Participant

    Is it possible to have the date picker show timezones in GMT values?

    UTC is confusing for many of our users.

    Thanks,
    Ryan

    #1460573
    Cliff
    Member

    Hi, Ryan. Our timezone picker comes from WordPress itself:

    Please let me know if you have any follow-up questions on this topic.

    #1460979
    Ryan Clover-Owens
    Participant

    Are you saying I can add this code to my functions file to make the change?

    #1461333
    Cliff
    Member

    I’d caution you against using any manual offset timezone, whether UTC or GMT. It’s always best to use city-based timezones because of Daylight Savings Time (DST), even if your events are in an area that doesn’t observe DST.

    We have this soon-to-be-released plugin that only allows city-based timezones and “UTC” itself: https://cl.ly/2H021c2Z301W (it works in the wp-admin event edit screen and on the Community Events form)

    I personally recommend only city-based timezones to all our users because of all the oddities, edge cases, and bugs I’ve seen as a result of timezones and DST.

    If you really want to rename “UTC” to “GMT”, I’d actually recommend using translations instead of the tribe_events_timezone_choice filter I linked you to previously.

    You can customize/change any bit of text with the Say what? plugin (third-party, not guaranteed or supported by us). For example, you could try translating “UTC” to “GMT” so that “UTC+1” would look like “GMT+1” to the user but actually be stored as “UTC+1” for the database and functions to work off of.

    Please let me know which direction you go and any follow-up thoughts you might have.

    #1480878
    Cliff
    Member

    Ryan, just letting you know we formally-released this as a free extension at https://theeventscalendar.com/extensions/allow-only-location-time-zones-for-events/

    The code is significantly more simplified than the .zip I previously linked you to. Please delete that other one and use this new “official” version instead.

    Please let me know how this goes for you.

    #1498833
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘UTC vs GMT’ is closed to new replies.