• Resolved jim5471

    (@jim5471)


    If you view the TEC Calendar on a mobile size display and click on an event.

    Yesterdays date is shown above the Event information if your Local Time is leading UTC.

    This can be seen when the WordPress Dashboard/Settings/General/Timezone is set to London or a city EAST of London(GMT).

    I can see this on a few TEC websites – so I don’t think it is an issue with my setup.

    This only affects the V2 upgraded Calendar.

    Please confim.

    • This topic was modified 5 years, 11 months ago by jim5471. Reason: Only affects v2
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Brian

    (@brianjessee)

    Hi,

    Thanks for using our plugins. I can help out here.

    I can confirm this is an issue.

    If you go to this file: src/views/v2/month/mobile-events/mobile-day/day-marker.php

    And replace this:
    $day_date_datetime = Dates::build_date_object( $day_date )->getTimestamp()

    With this:

    $day_date_obj = Dates::build_date_object( $day_date );
    $day_date_datetime = $day_date_obj->getTimestamp() + $day_date_obj->getOffset();

    That will resolve the issue for now until we can get this in the next release.

    Let me know if you have any follow up questions.

    Cheers

    Thread Starter jim5471

    (@jim5471)

    That will do nicely.

    Thanks.

    Jaime

    (@jaimemarchwinski)

    Hello,

    Just wanted to let you know that a new maintenance release is out, including a fix for the issue that you were experiencing.

    Find out more about this release → https://theeventscalendar.com/release-notes/the-events-calendar-5-1-5/

    Please try updating and let us know if you are experiencing any further issues. As always, we recommend running updates on your staging site before doing so on your live site, just to be on the safe side.

    Thanks again for your patience while we worked on getting this fixed!

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

The topic ‘Mobile Calendar Date Problem’ is closed to new replies.