Title: Mobile Calendar Date Problem
Last modified: July 5, 2020

---

# Mobile Calendar Date Problem

 *  Resolved [jim5471](https://wordpress.org/support/users/jim5471/)
 * (@jim5471)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mobile-calendar-date-problem/)
 * 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](https://wordpress.org/support/users/jim5471/).
      Reason: Only affects v2

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

 *  Plugin Contributor [Brian](https://wordpress.org/support/users/brianjessee/)
 * (@brianjessee)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mobile-calendar-date-problem/#post-13078493)
 * 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](https://wordpress.org/support/users/jim5471/)
 * (@jim5471)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/mobile-calendar-date-problem/#post-13087509)
 * That will do nicely.
 * Thanks.
 *  [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * (@jaimemarchwinski)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/mobile-calendar-date-problem/#post-13182102)
 * 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/](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.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Jaime](https://wordpress.org/support/users/jaimemarchwinski/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/mobile-calendar-date-problem/#post-13182102)
 * Status: resolved