From 1520b0b67e7ec0129f40e8795eb7ffde4e7c2aac Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Tue, 8 Nov 2011 12:47:41 +0100 Subject: iCalendar fixes. --- views/ical/object/event_calendar.php | 4 ++-- views/ical/page/default.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'views/ical') diff --git a/views/ical/object/event_calendar.php b/views/ical/object/event_calendar.php index a6ed889e5..36d71a66c 100644 --- a/views/ical/object/event_calendar.php +++ b/views/ical/object/event_calendar.php @@ -29,9 +29,9 @@ CREATED:getTimeCreated())?> LAST-MODIFIED:getTimeUpdated()) ?> -DTSTART:start_date); ?> +DTSTART;VALUE=DATE:start_date); ?> -DTEND:real_end_time); ?> +DTEND;VALUE=DATE:real_end_time); ?> SUMMARY:title; ?> diff --git a/views/ical/page/default.php b/views/ical/page/default.php index c269b5849..b4cd7eefb 100644 --- a/views/ical/page/default.php +++ b/views/ical/page/default.php @@ -8,7 +8,7 @@ */ header("Content-Type: text/calendar"); -//header("Content-Disposition: attachment; filename=\"calendar.ics\""); +header("Content-Disposition: inline; filename=\"calendar.ics\""); ?> BEGIN:VCALENDAR VERSION:2.0 -- cgit v1.2.3