{"id":1088097,"date":"2016-03-11T23:15:39","date_gmt":"2016-03-12T07:15:39","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/"},"modified":"2016-03-29T09:35:04","modified_gmt":"2016-03-29T16:35:04","slug":"calendar-listweekday-view-problems","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/","title":{"rendered":"Calendar list\/week\/day view problems"},"content":{"rendered":"<p>My calendar page is set to the following url:<br \/>\n    https:\/\/wednesdaynighthop.com\/calendar\/<\/p>\n<p>I have it default to month view, and it seems to work well.<\/p>\n<p>From there, if I switch to &#8216;list&#8217; view using the calendar menu. It displays upcoming events as a list. But instead of starting with today as a date, the first few events displayed are from March 30th. Then it displays an event from March 16th, then from March 2nd, then from March 9th, then from March 16th, then from March 23rd. If I click on &#8216;Previous Events&#8217;, and then &#8216;Next Events&#8217;, I get the correct display with the events starting from March 16th.<\/p>\n<p>Now if from the month view, I switch to the week view, it displays &#8216;Events for the week of March 6th&#8217;, but the calendar starts on March 12th (a Saturday?!), and some events from March 16th are missing. Again if I click on &#8216;Previous Events&#8217;, and then &#8216;Next Events&#8217;, everything is back in order.<\/p>\n<p>Now if from the month view, I switch to the day view, the &#8216;Day Of&#8217; is shown at 1970-01-01, but the calendar says &#8216;Events of March 11, 2016&#8217;. Yet the events displayed are from March 30th, and some from March 16th, and others from March 2nd, and March 9th. If I click on &#8216;Previous Day&#8217;, it does not change the day, ie it is still March 11, but the events displayed are correct, ie there are none.<\/p>\n<p>In conclusion, switching views seem to produce incorrect results. But then using ajax requests seem to fix everything.<\/p>\n<p>Any idea what could be wrong and how I can go about debugging the issue?<\/p>\n<p>Gilles<\/p>\n","protected":false},"template":"","class_list":["post-1088097","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>Calendar list\/week\/day view problems -<\/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\/calendar-listweekday-view-problems\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Calendar list\/week\/day view problems -\" \/>\n<meta property=\"og:description\" content=\"My calendar page is set to the following url: https:\/\/wednesdaynighthop.com\/calendar\/ I have it default to month view, and it seems to work well. From there, if I switch to &#8216;list&#8217; view using the calendar menu. It displays upcoming events as a list. But instead of starting with today as a date, the first few events [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-29T16:35:04+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/\",\"name\":\"Calendar list\/week\/day view problems -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-03-12T07:15:39+00:00\",\"dateModified\":\"2016-03-29T16:35:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/#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\":\"Calendar list\/week\/day view problems\"}]},{\"@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":"Calendar list\/week\/day view problems -","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\/calendar-listweekday-view-problems\/","og_locale":"en_US","og_type":"article","og_title":"Calendar list\/week\/day view problems -","og_description":"My calendar page is set to the following url: https:\/\/wednesdaynighthop.com\/calendar\/ I have it default to month view, and it seems to work well. From there, if I switch to &#8216;list&#8217; view using the calendar menu. It displays upcoming events as a list. But instead of starting with today as a date, the first few events [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/","article_modified_time":"2016-03-29T16:35:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/","name":"Calendar list\/week\/day view problems -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-03-12T07:15:39+00:00","dateModified":"2016-03-29T16:35:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/calendar-listweekday-view-problems\/#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":"Calendar list\/week\/day view problems"}]},{"@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\/1088097","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\/1088097\/revisions"}],"predecessor-version":[{"id":1088405,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1088097\/revisions\/1088405"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1088097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}