Title: Widget Wrong Date
Last modified: August 21, 2016

---

# Widget Wrong Date

 *  [raacademy](https://wordpress.org/support/users/raacademy/)
 * (@raacademy)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/widget-wrong-date/)
 * Some of the events in the widget show the wrong date, however if you click on
   them – they show correctly in the calendar view.
 * The event in question shows on widget as 26th but in fact it’s setup as 27th.
 * [http://wordpress.org/plugins/all-in-one-event-calendar/](http://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  Thread Starter [raacademy](https://wordpress.org/support/users/raacademy/)
 * (@raacademy)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/widget-wrong-date/#post-4119895)
 * Thanks so much for all the help.
 * I fixed this myself in the end. The only work around I can find is to add
 * `<?php date_default_timezone_set('UTC');?>`
 * in to the header of my actual theme.
 * I can’t understand why, as the timezone in the WordPress options are set correctly
   and when altered do change the site, but regardless – the two weren’t talking
   properly (with events showing one hour behind or full day events showing for 
   the previous day [midnight-1hr = 11pm the previous day]).
 * It’s working now. It’ll do.
 * Cheers
 *  Thread Starter [raacademy](https://wordpress.org/support/users/raacademy/)
 * (@raacademy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/widget-wrong-date/#post-4119951)
 * Sorry, this isn’t resolved as I’d thought
 * still an issue somewhere.
 * Adding an event, timezone shows Europe/London – if I chose (for example) 6PM –
   8PM it will show in the widget as 5PM – 7PM. If I click the event, it shows 5PM-
   6PM, If I look at the Posterboard page it shows 6PM-8PM (correct).
 * If I add an all day event, for example 15/10/13 – it shows in the widget as 14th–
   if I load the event it shows 14/10/13-15/10/13 and if I load posterboard is shows
   15/10/13 (I suspect its because it’s behind one hour thus making it 11PM on the
   day before on a full day event.
 * This is causing us major problems.
 * We would consider upgrading to Pro because of the features it offers but we are
   stumped at the moment, having difficulty using the plugin fully as it’s faulty
   for us.
 * Any help from anyone is greatly appreciated.
 *  [nouveaux](https://wordpress.org/support/users/nouveaux/)
 * (@nouveaux)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/widget-wrong-date/#post-4119962)
 * Has anyone resolved this issue?
 * I’m experiencing this now on my site as well.
    My timezone is UTC+8.
 * I’ve placed 2 widgets for different templates, the widget on the homepage displays
   events at UTC, while the widget on another template and the calendar posterboard
   displays the time correctly at UTC+8.
 * Any advice on the matter is greatly appreciated.

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

The topic ‘Widget Wrong Date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [nouveaux](https://wordpress.org/support/users/nouveaux/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/widget-wrong-date/#post-4119962)
 * Status: not resolved