{"id":1013402,"date":"2015-10-10T03:41:30","date_gmt":"2015-10-10T10:41:30","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/"},"modified":"2015-10-28T07:05:04","modified_gmt":"2015-10-28T14:05:04","slug":"ical-importer-not-importing-all-events-correctly","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/","title":{"rendered":"Ical importer not importing all events correctly."},"content":{"rendered":"<p>Hello,<\/p>\n<p>We recently purchased The events calendar pro and ical importer to import attendance data from WhosOff but we have a weird issue as outlined.<\/p>\n<p>When we import 1 day or some multiple day events it works a treat but it would appear on all events where the start and end date are 01 &#8211; 09 day it imports incorrect data.<\/p>\n<p>We get the same results with default theme and no active plugins.  It only happens with single digit days greater than 1 day in our test.<\/p>\n<p>Here is an example from wp_postmeta of a good and bad event in the same import from an ICS or Feed.<\/p>\n<p><strong>Event for Nov 10 -13 Correct<\/strong><br \/>\n_EventIcalSource<br \/>\n_EventSavedImport\t1444405616<br \/>\n_EventOrigin\tevents-calendar<br \/>\n_EventShowMapLink<br \/>\n_EventShowMap<br \/>\n_EventAllDay\tyes<br \/>\n_EventStartDate\t10\/11\/2015 00:00<br \/>\n_EventEndDate\t13\/11\/2015 23:59<br \/>\n_EventStartDateUTC\t10\/11\/2015 00:00<br \/>\n_EventEndDateUTC\t13\/11\/2015 23:59<br \/>\n_EventDuration\t345599<br \/>\n_EventVenueID\t1756<br \/>\n_EventURL<br \/>\n_EventTimezone\tEurope\/London<br \/>\n_EventTimezoneAbbr\tGMT<br \/>\n_uid\tLR4936707<\/p>\n<p><strong>Event for Nov 07 -08 incorrect<\/strong><br \/>\n_EventIcalSource<br \/>\n_EventSavedImport\t1444405616<br \/>\n_EventOrigin\tevents-calendar<br \/>\n_EventShowMapLink<br \/>\n_EventShowMap<br \/>\n_EventAllDay\tyes<br \/>\n_EventStartDate\t07\/12\/2015 00:00<br \/>\n_EventEndDate\t07\/12\/2015 00:00<br \/>\n_EventStartDateUTC\t07\/12\/2015 00:00<br \/>\n_EventEndDateUTC\t09\/10\/2015 22:59<br \/>\n_EventDuration\t0<br \/>\n_EventVenueID\t1756<br \/>\n_EventURL<br \/>\n_EventTimezone\tEurope\/London<br \/>\n_EventTimezoneAbbr\tGMT<br \/>\n_uid\tLR4936710<\/p>\n<p>Here is a snippet from the ICS for these events.<\/p>\n<p>BEGIN:VEVENT<br \/>\nUID:LR4936759<br \/>\nCATEGORIES:Holiday<br \/>\nDTSTART;TZID=ALLDAY;VALUE=DATE:20151207<br \/>\nDTEND;TZID=ALLDAY;VALUE=DATE:20151209<br \/>\nLOCATION:Information Technology<br \/>\nDESCRIPTION:GMT Based Event Times: Start 7.Dec.2015, End 8.Dec.2015\\r\\nTo login to your account\\, please visit https:\/\/staff.whosoff.com<br \/>\nSUMMARY:Col Shaw (Holiday)<br \/>\nEND:VEVENT<\/p>\n<p>BEGIN:VEVENT<br \/>\nUID:LR4936707<br \/>\nCATEGORIES:Holiday<br \/>\nDTSTART;TZID=ALLDAY;VALUE=DATE:20151110<br \/>\nDTEND;TZID=ALLDAY;VALUE=DATE:20151114<br \/>\nLOCATION:Information Technology<br \/>\nDESCRIPTION:GMT Based Event Times: Start 10.Nov.2015, End 13.Nov.2015\\r\\nTo login to your account\\, please visit https:\/\/staff.whosoff.com<br \/>\nSUMMARY:Col Shaw (Holiday)<br \/>\nEND:VEVENT<\/p>\n<p>Link to ics to see if you can replicate.<\/p>\n<p><a href=\"http:\/\/feeds.staff.whosoff.com\/?u=1092015144720295\"><\/a><\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-1013402","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>Ical importer not importing all events correctly. -<\/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\/ical-importer-not-importing-all-events-correctly\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ical importer not importing all events correctly. -\" \/>\n<meta property=\"og:description\" content=\"Hello, We recently purchased The events calendar pro and ical importer to import attendance data from WhosOff but we have a weird issue as outlined. When we import 1 day or some multiple day events it works a treat but it would appear on all events where the start and end date are 01 &#8211; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-28T14:05: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\/ical-importer-not-importing-all-events-correctly\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/\",\"name\":\"Ical importer not importing all events correctly. -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-10-10T10:41:30+00:00\",\"dateModified\":\"2015-10-28T14:05:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/#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\":\"Event Aggregator\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/event-aggregator\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Ical importer not importing all events correctly.\"}]},{\"@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":"Ical importer not importing all events correctly. -","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\/ical-importer-not-importing-all-events-correctly\/","og_locale":"en_US","og_type":"article","og_title":"Ical importer not importing all events correctly. -","og_description":"Hello, We recently purchased The events calendar pro and ical importer to import attendance data from WhosOff but we have a weird issue as outlined. When we import 1 day or some multiple day events it works a treat but it would appear on all events where the start and end date are 01 &#8211; [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/","article_modified_time":"2015-10-28T14:05: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\/ical-importer-not-importing-all-events-correctly\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/","name":"Ical importer not importing all events correctly. -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-10-10T10:41:30+00:00","dateModified":"2015-10-28T14:05:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ical-importer-not-importing-all-events-correctly\/#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":"Event Aggregator","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/event-aggregator\/"},{"@type":"ListItem","position":5,"name":"Ical importer not importing all events correctly."}]},{"@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\/1013402","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\/1013402\/revisions"}],"predecessor-version":[{"id":1013405,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1013402\/revisions\/1013405"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1013402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}