From f3fe3c818cf277a547024492abd90c155dab1cd4 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 18 Aug 2014 12:16:42 +0200 Subject: Gracefully handle all day events in iCal imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not create two events when importing an event that lasts an entire day. Reported-by: Jörn Tillmanns Reported-by: Håkan Jerning Signed-off-by: Lukas Fleischer --- test/data/ical-005.ical | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/data/ical-005.ical (limited to 'test/data') diff --git a/test/data/ical-005.ical b/test/data/ical-005.ical new file mode 100644 index 0000000..5f20f48 --- /dev/null +++ b/test/data/ical-005.ical @@ -0,0 +1,23 @@ +BEGIN:VCALENDAR +VERSION:2.0 +BEGIN:VEVENT +SUMMARY:All day +DTSTART;VALUE=DATE:20131003 +DTEND;VALUE=DATE:20131004 +END:VEVENT +BEGIN:VEVENT +SUMMARY:Two days +DTSTART;VALUE=DATE:20131003 +DTEND;VALUE=DATE:20131005 +END:VEVENT +BEGIN:VEVENT +SUMMARY:On day 1 +DTSTART;VALUE=DATE:20131003 +DTEND;VALUE=DATE:20131004 +TRANSP:TRANSPARENT +END:VEVENT +BEGIN:VEVENT +SUMMARY:On day 2 +DTSTART;VALUE=DATE:20131003 +END:VEVENT +END:VCALENDAR -- cgit v1.2.3-70-g09d2