Commit ac52bebb authored by Mario's avatar Mario

ATOM_TIME format is not compatible with the DB

parent c568f7b8
Pipeline #232014 passed with stage
in 4 minutes and 20 seconds
......@@ -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';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment