aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-06-05 10:04:16 +0000
committerMario <mario@mariovavti.com>2024-06-05 10:04:16 +0000
commit494ff44a6984d2be3a40e276c728a33c124f5196 (patch)
treedad8041fedb8009b63c19f0c15d08eea6a2e6fca
parent5efc6bdd2f85497d0c863551f01236527cc7344f (diff)
downloadvolse-hubzilla-494ff44a6984d2be3a40e276c728a33c124f5196.tar.gz
volse-hubzilla-494ff44a6984d2be3a40e276c728a33c124f5196.tar.bz2
volse-hubzilla-494ff44a6984d2be3a40e276c728a33c124f5196.zip
adjusting to the wrong direction when exporting ical and do not use Z because timezone is attached
-rw-r--r--include/event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event.php b/include/event.php
index ef73fc9b5..3beb15b7a 100644
--- a/include/event.php
+++ b/include/event.php
@@ -272,9 +272,9 @@ function format_event_ical($ev) {
if($ev['adjust']) {
if($ev['dtstart'])
- $o .= "\r\nDTSTART$tzid:" . datetime_convert($tz,'UTC', $ev['dtstart'],'Ymd\\THis\\Z');
+ $o .= "\r\nDTSTART$tzid:" . datetime_convert('UTC', $tz, $ev['dtstart'],'Ymd\\THis');
if($ev['dtend'] && ! $ev['nofinish'])
- $o .= "\r\nDTEND$tzid:" . datetime_convert($tz,'UTC', $ev['dtend'],'Ymd\\THis\\Z');
+ $o .= "\r\nDTEND$tzid:" . datetime_convert('UTC', $tz, $ev['dtend'],'Ymd\\THis');
}
else {
if($ev['dtstart'])