Title: Timezone
Last modified: October 2, 2024

---

# Timezone

 *  [sadesades](https://wordpress.org/support/users/sadesades/)
 * (@sadesades)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/timezone-41/)
 * I have been trying to display the event’s time zone on the “My Calendar Setting-
   > Text -> Time Format.” The default time format is g:i a. Checking the link provided
   there for the PHP date. I have added g:i a T, when I check the direct link of
   the event, the date shows correctly, for example, 4 pm EDT, but on the list view,
   on the grid view, and also on shortcodes for upcoming events those shows way 
   wrong the date gets changed to 4:00 PM GMT nothing else no +5 or -5 to indicate
   it is EDT, is there any way this can be fixed.
   I also noticed that when using
   the {time} it shows the GMT, but on the {endtime} it does show EDT. Should they
   both show at the same Timezone?
 * Another example would be how the upcoming date is shown “2:00 pm **GMT** – 4:
   00 pm EDT, October 2, 2024″ it should be “2:00 pm **EDT** – 4:00 pm EDT, October
   2, 2024″

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/timezone-41/#post-18083302)
 * The date as rendered on the front end usually doesn’t retain the timezone information,
   because (to be honest) My Calendar uses a kind of arcane workaround to manage
   timezones.
 * There are a couple of options. One of them is that you can just use plain text
   to add timezones manually, not in the time format. Since My Calendar doesn’t 
   include support for specifying a different timezone for an event, all events 
   should be in the same timezone.
 * Another option is adding a custom field where you can specify the timezone for
   an event, and outputting that data.
 *  Thread Starter [sadesades](https://wordpress.org/support/users/sadesades/)
 * (@sadesades)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/timezone-41/#post-18091856)
 * Could you add like you have the end time on the “my-calendar-templates.php” but
   for start time since using **{time}** adds GMT instead of the time zone of the
   server
 * at the _[@hook](https://wordpress.org/support/users/hook/) mc\_date\_utc\_format_
 * `$starttime = ( '23:59:59' === $event->event_begin ) ? '00:00:00' : mc_date( '
   H:i:s', strtotime( $real_begin_date ), false );`
 * `$e['starttime'] = ( '00:00:00' === mc_date( 'H:i:s', strtotime( $real_begin_date),
   false ) ) ? $notime : date_i18n( mc_time_format(), strtotime( $starttime ) );`
 * When adding this one it does keep the correct timezone EDT instead of GMT

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Timezone’ is closed to new replies.

 * ![](https://ps.w.org/my-calendar/assets/icon-256x256.png?rev=1097576)
 * [My Calendar - Accessible Event Manager](https://wordpress.org/plugins/my-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/my-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-calendar/reviews/)

## Tags

 * [edt](https://wordpress.org/support/topic-tag/edt/)
 * [GMT](https://wordpress.org/support/topic-tag/gmt/)
 * [time](https://wordpress.org/support/topic-tag/time/)
 * [timezone](https://wordpress.org/support/topic-tag/timezone/)

 * 2 replies
 * 2 participants
 * Last reply from: [sadesades](https://wordpress.org/support/users/sadesades/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/timezone-41/#post-18091856)
 * Status: not resolved