Title: Exact_date Shortcode Bug
Last modified: December 15, 2016

---

# Exact_date Shortcode Bug

 *  Resolved [hstoddart](https://wordpress.org/support/users/hstoddart/)
 * (@hstoddart)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/exact_date-shortcode-bug/)
 * I’ve searched the support forum thoroughly but can’t find anyone else with this
   bug. I have deactivated all other plugins and switched the theme to 2015. My 
   version of AI1EC is up to date.
 * I’m using the following shortcode [ai1ec exact_date=”20-9-2017″ view=”agenda”]
   to insert a calendar on a page. The initial display is fine. However, if a user
   changes the view to “month” or “day” the calendar switches to today. If I set
   the initial view to “month” it will switch to “agenda” fine but won’t switch 
   to “day” or “week”.
 * As a possible hint to what’s happening. The path for the page is /visitors/schedule-
   of-events/ but after switching from “agenda” view to “month” view the path is/
   calendar/action~month/time_limit~1506139200/request_format~json/
 * This is an early stage poc dev site, so no public url.
 * Thoughts?

Viewing 1 replies (of 1 total)

 *  Thread Starter [hstoddart](https://wordpress.org/support/users/hstoddart/)
 * (@hstoddart)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/exact_date-shortcode-bug/#post-8586376)
 * I’ve done some more experimenting, it’s not just when using the exact_date parameter
   in the shortcode, it looks like it occurs anytime a user switches from agenda
   view to another view when viewing events in the future. I can switch fine between
   month, week, day and the correct date will be rendered but switching from agenda
   view to any other causes the date to be reset to today.

Viewing 1 replies (of 1 total)

The topic ‘Exact_date Shortcode Bug’ 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

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

 * 1 reply
 * 1 participant
 * Last reply from: [hstoddart](https://wordpress.org/support/users/hstoddart/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/exact_date-shortcode-bug/#post-8586376)
 * Status: resolved