{"id":1288640,"date":"2017-05-24T14:54:58","date_gmt":"2017-05-24T21:54:58","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/"},"modified":"2017-05-26T19:59:23","modified_gmt":"2017-05-27T02:59:23","slug":"_eventduration-multi-day-event","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/","title":{"rendered":"_EventDuration multi day event"},"content":{"rendered":"<p>I have several event feeds on our web site generated by using the Custom Content plugin and the Tribe Events custom post types and meta fields. To differentiate between multi day and single day events I have been using &#8216;if field=_EventDuration compare=more value=86399&#8217; (86399 is the seconds in 24 hours minus 1), and it&#8217;s been working. I just entered three new multi-day events today and they are not being recognized as multi-day by the Custom Content loops. Multi-day events that were entered several months ago are still being recognized properly, and both new and previously entered events are still being recognized as multi-day by the Events Calendar templates.<\/p>\n<p>I tried switching the duration value to &#8216;1439&#8217; (minutes instead of seconds), the newly entered events still weren&#8217;t recognized as multi-day, although all events entered a while back with a duration over 1439 seconds now were displayed as multiday events.<\/p>\n<p>I don&#8217;t know exactly where the crossover happened because we don&#8217;t have that many. Maybe the way duration is stored\/calculated changed when the date\/time interface changed? How do I specify the duration now for multi-day?<\/p>\n<p>You can see it on this page: http:\/\/www.sierranevada.edu\/resources\/current-undergraduate-students\/. In the 5 items under &#8216;Event Calendar&#8217;, &#8216;New Student Orientation&#8217; (added today) runs August 14 &#8211; August 16. &#8216;Travel Course &#8211; South Africa Service Learning&#8217; and &#8216;MiddCORE 2017&#8217;, which are displaying correctly, were entered several months ago.<\/p>\n","protected":false},"template":"","class_list":["post-1288640","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>_EventDuration multi day event -<\/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\/_eventduration-multi-day-event\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"_EventDuration multi day event -\" \/>\n<meta property=\"og:description\" content=\"I have several event feeds on our web site generated by using the Custom Content plugin and the Tribe Events custom post types and meta fields. To differentiate between multi day and single day events I have been using &#8216;if field=_EventDuration compare=more value=86399&#8217; (86399 is the seconds in 24 hours minus 1), and it&#8217;s been [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-05-27T02:59:23+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\/_eventduration-multi-day-event\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/\",\"name\":\"_EventDuration multi day event -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-05-24T21:54:58+00:00\",\"dateModified\":\"2017-05-27T02:59:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/#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\":\"_EventDuration multi day event\"}]},{\"@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":"_EventDuration multi day event -","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\/_eventduration-multi-day-event\/","og_locale":"en_US","og_type":"article","og_title":"_EventDuration multi day event -","og_description":"I have several event feeds on our web site generated by using the Custom Content plugin and the Tribe Events custom post types and meta fields. To differentiate between multi day and single day events I have been using &#8216;if field=_EventDuration compare=more value=86399&#8217; (86399 is the seconds in 24 hours minus 1), and it&#8217;s been [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/","article_modified_time":"2017-05-27T02:59:23+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\/_eventduration-multi-day-event\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/","name":"_EventDuration multi day event -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-05-24T21:54:58+00:00","dateModified":"2017-05-27T02:59:23+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/_eventduration-multi-day-event\/#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":"_EventDuration multi day event"}]},{"@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\/1288640","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\/1288640\/revisions"}],"predecessor-version":[{"id":1289680,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1288640\/revisions\/1289680"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1288640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}