• I entered an event in the backend with a time of 9am to 12pm. In the frontend, it shows as 4pm to 8pm. The timezone setting in Settings is set correctly to Los Angeles. I tried changing it to UTC-8 and no difference. Just to see, I tried changing it to several different settings, but the frontend always displays UTC. When I enable the local time module, it detects correctly that I’m in PST and displays the time correctly, but the main time displays still shows the incorrect time.

    Using 5.21.2 on WP 5.8. I haven’t tried turning off other plugins yet (have to refresh my staging environment), but I’ll try that next.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor webnus

    (@webnus)

    Hello @pediwent,

    Did you used the shortcode? or faced that issue just on the single event page?
    We need to know the steps to replicate it.
    Could you please send screenshot from the list below:

    1. Single Event > Date and time tab
    2. Single Event > Repeating Tab
    3. Shortcode > Display Settings
    4. Shortcode > Filter options > Expired / Ongoing tab (date options)
    5. MEC Settings > General Options (Timezone / date / time / Week Starts On)
    6. MEC Settings > Single Event

    + please send a live URL.
    With these details, we can help you to fix it very soon.
    Also, you can read these links to check your settings:
    1- https://webnus.net/dox/modern-events-calendar/date-and-time/
    2- https://webnus.net/dox/modern-events-calendar/setup-date-option-on-shortcodes/

    Best Regards

    Thread Starter pediwent

    (@pediwent)

    Sorry, forgot to remove the post. It was a plugin conflict with a custom plugin I created that used the php function date_default_timezone_set(). The timezone in that function was set properly and matched the timezone set in the admin settings, but when I removed that function, the times started showing properly. Luckily, I didn’t need that function in my custom plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display of all events defaulting to UTC’ is closed to new replies.