diff options
author | Mario <mario@mariovavti.com> | 2020-04-02 12:33:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-02 12:33:57 +0000 |
commit | ac52bebb88306273a481b7114fe190917da49b91 (patch) | |
tree | d56a97c9f604067b776f771edecd99cf68b44c6b /include | |
parent | c568f7b8d1f499b32df248a9820fc69bfc46c62c (diff) | |
download | volse-hubzilla-ac52bebb88306273a481b7114fe190917da49b91.tar.gz volse-hubzilla-ac52bebb88306273a481b7114fe190917da49b91.tar.bz2 volse-hubzilla-ac52bebb88306273a481b7114fe190917da49b91.zip |
ATOM_TIME format is not compatible with the DB
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 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'; } |