{"id":1050004,"date":"2016-01-04T12:26:54","date_gmt":"2016-01-04T20:26:54","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/"},"modified":"2016-02-18T08:33:38","modified_gmt":"2016-02-18T16:33:38","slug":"excluding-specific-dates-not-working-on-recurring-events","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/","title":{"rendered":"Excluding specific dates not working on recurring events"},"content":{"rendered":"<p>We have several weekly recurring events set up with specific dates excluded.  The excluded dates continue to display on the calendar view (Monthly, weekly and Daily) as well as in the upcoming events widget.  The dates were excluded correctly (that is, did not display on the calendar) when we originally set them up (I think the version of Events Calendar Pro was 3.9.? when the events were set up).  But after the last couple of updates (we have 4.0.3 installed), the excluded events started showing up again.<\/p>\n<p>I noticed that when I open up the series and look at the excluded dates (see https:\/\/www.dropbox.com\/s\/aqirxsofqin23bj\/recur-event-settings-2.jpg?dl=0), the dates that we entered when the event was set up show a date and time (2015-11-04 19:00:00) whereas the excluded dates entered after installing version 4+ only show the date (2016-01-06).  I&#8217;m thinking this is pointing to the issue (maybe a bad date\/time comparison in the code to display events?) because the excluded dates that have a time as well as a date are excluded in the calendar views but the events that do NOT show a time with the date continue to display on the calendar views.<\/p>\n<p>This image shows that the excluded Event (named echo) for 12-2-15 does not display on monthly calendar view: https:\/\/www.dropbox.com\/s\/oghgdw5347924xy\/recur-event-montly-display.jpg?dl=0  This is an excluded date that contains the date and time.<\/p>\n<p>This image shows that the excluded event named echo for 1-6-2016 continues to display on the daily calendar view: https:\/\/www.dropbox.com\/s\/gnv728ezzlkd894\/recur-event-daily-display.jpg?dl=0 It also displays in the upcoming events widget: https:\/\/www.dropbox.com\/s\/8eqyn2ena8u5thj\/recur-event-widget-display.jpg?dl=0  This is an excluded date that contains just the date<\/p>\n","protected":false},"template":"","class_list":["post-1050004","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Excluding specific dates not working on recurring events -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Excluding specific dates not working on recurring events -\" \/>\n<meta property=\"og:description\" content=\"We have several weekly recurring events set up with specific dates excluded. The excluded dates continue to display on the calendar view (Monthly, weekly and Daily) as well as in the upcoming events widget. The dates were excluded correctly (that is, did not display on the calendar) when we originally set them up (I think [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:33:38+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/\",\"name\":\"Excluding specific dates not working on recurring events -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-04T20:26:54+00:00\",\"dateModified\":\"2016-02-18T16:33:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Excluding specific dates not working on recurring events\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Excluding specific dates not working on recurring events -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/","og_locale":"en_US","og_type":"article","og_title":"Excluding specific dates not working on recurring events -","og_description":"We have several weekly recurring events set up with specific dates excluded. The excluded dates continue to display on the calendar view (Monthly, weekly and Daily) as well as in the upcoming events widget. The dates were excluded correctly (that is, did not display on the calendar) when we originally set them up (I think [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/","article_modified_time":"2016-02-18T16:33:38+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/","name":"Excluding specific dates not working on recurring events -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-04T20:26:54+00:00","dateModified":"2016-02-18T16:33:38+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/excluding-specific-dates-not-working-on-recurring-events\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Excluding specific dates not working on recurring events"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1050004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1050004\/revisions"}],"predecessor-version":[{"id":1050956,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1050004\/revisions\/1050956"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1050004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}