From ac52bebb88306273a481b7114fe190917da49b91 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 2 Apr 2020 12:33:57 +0000 Subject: ATOM_TIME format is not compatible with the DB --- include/event.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/event.php b/include/event.php index 64e63074c..b92d2c8a9 100644 --- a/include/event.php +++ b/include/event.php @@ -259,9 +259,9 @@ function format_event_bbcode($ev, $utc = false) { } if ($utc && $ev['event-timezone'] !== 'UTC') { - $ev['dtstart'] = datetime_convert($ev['timezone'],'UTC',$ev['dtstart'],ATOM_TIME); + $ev['dtstart'] = datetime_convert($ev['timezone'],'UTC',$ev['dtstart']); if ($ev['dtend'] && ! $ev['nofinish']) { - $ev['dtend'] = datetime_convert($ev['timezone'],'UTC',$ev['dtend'],ATOM_TIME); + $ev['dtend'] = datetime_convert($ev['timezone'],'UTC',$ev['dtend']); } $ev['timezone'] = 'UTC'; } -- cgit v1.2.3