From 98b88d7d2fe4d90c63a6075b7f574f5db7d17446 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 24 Nov 2014 18:46:14 -0800 Subject: ical output wasn't using 24-hour time --- include/event.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/event.php') diff --git a/include/event.php b/include/event.php index a79770d23..1ed541d99 100644 --- a/include/event.php +++ b/include/event.php @@ -74,9 +74,9 @@ function format_event_ical($ev) { $o .= "\nBEGIN:VEVENT"; if($ev['start']) - $o .= "\nDTSTART:" . datetime_convert('UTC','UTC', $ev['start'],'Ymd\\This' . (($ev['adjust']) ? '\\Z' : '')); + $o .= "\nDTSTART:" . datetime_convert('UTC','UTC', $ev['start'],'Ymd\\THis' . (($ev['adjust']) ? '\\Z' : '')); if($ev['finish'] && ! $ev['nofinish']) - $o .= "\nDTEND:" . datetime_convert('UTC','UTC', $ev['finish'],'Ymd\\This' . (($ev['adjust']) ? '\\Z' : '')); + $o .= "\nDTEND:" . datetime_convert('UTC','UTC', $ev['finish'],'Ymd\\THis' . (($ev['adjust']) ? '\\Z' : '')); if($ev['summary']) $o .= "\nSUMMARY:" . format_ical_text($ev['summary']); if($ev['location']) -- cgit v1.2.3