Title: Wrong excluded dates
Last modified: August 22, 2016

---

# Wrong excluded dates

 *  Resolved [Benvii](https://wordpress.org/support/users/benvii/)
 * (@benvii)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-excluded-dates/)
 * Hi,
    Using ai1ec 2.2.0 (or the latest version r1092677 from svn), I’ve a recurring
   event (duration 1h), when a I add an exclude date it is still visible on the 
   calendar.
 * After some debugging I saw that the generated excluded dates ($exclude_dates 
   model/event/instance.php:156) are 1h later :
    Excluded date: 2015-03-13T13:24:
   00+00:00 Excluded date: 2015-03-20T13:24:00+00:00 Excluded date: 2015-03-27T13:
   24:00+00:00 Event date: 2015-03-06T12:24:00+00:00 Event date: 2015-03-13T12:24:
   00+00:00 –> should be excluded Event date: 2015-03-20T12:24:00+00:00 –> should
   be excluded Event date: 2015-03-27T12:24:00+00:00 –> should be excluded
 * I will try to continue this debugging tomorrow.
    I know it would be more appropriate
   to post that on plugins.trac.wordpress.org but I can’t find all-in-on-calendar
   in the plugin list.
 * Benjamin BERNARD, maison du libre Brest [http://mdl29.net](http://mdl29.net)
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * (@nicolapeluchetti)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-excluded-dates/#post-5863456)
 * Hi,
 * thanks for reporting this. i will add it to our internal tracker, let me know
   if you find something about it.
 *  [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * (@nicolapeluchetti)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-excluded-dates/#post-5863482)
 * Hi, can you give us the exact set up you are using?The timezone of your blog,
   the recurrence rules and so on?Maybe post a screenshot of the “Add new event 
   page” so that i can replicate
 *  Thread Starter [Benvii](https://wordpress.org/support/users/benvii/)
 * (@benvii)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-excluded-dates/#post-5863577)
 * Ok thanks it was simply a timezone problem (event’s timezone was set to Paris
   and in the ai1ec’s timezone set to london).
 * I also have another problem, about the excluded dates UI, we are using custom
   dates, to add a new date we need to re-select all previous excluded dates.
 * It would be easier to pre-select the excluded dates when the repeat box is opened,
   so that we can easily add or remove dates.
 *  [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * (@nicolapeluchetti)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-excluded-dates/#post-5863578)
 * Hi, yes that’s an improvement we have to make. I’m closing this

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

The topic ‘Wrong excluded dates’ 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/)

## Tags

 * [dates](https://wordpress.org/support/topic-tag/dates/)
 * [excluded](https://wordpress.org/support/topic-tag/excluded/)

 * 4 replies
 * 2 participants
 * Last reply from: [Nicola Peluchetti](https://wordpress.org/support/users/nicolapeluchetti/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wrong-excluded-dates/#post-5863578)
 * Status: resolved