diff options
author | friendica <info@friendica.com> | 2014-11-24 18:46:14 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-24 18:46:14 -0800 |
commit | 98b88d7d2fe4d90c63a6075b7f574f5db7d17446 (patch) | |
tree | 10784d9eb14b11c1cbe8e0e5a4608b33886d4893 /include | |
parent | e9ba2ba600e5262d03300d37c8984a03808c47c3 (diff) | |
download | volse-hubzilla-98b88d7d2fe4d90c63a6075b7f574f5db7d17446.tar.gz volse-hubzilla-98b88d7d2fe4d90c63a6075b7f574f5db7d17446.tar.bz2 volse-hubzilla-98b88d7d2fe4d90c63a6075b7f574f5db7d17446.zip |
ical output wasn't using 24-hour time
Diffstat (limited to 'include')
-rw-r--r-- | include/event.php | 4 |
1 files changed, 2 insertions, 2 deletions
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']) |