Events/Fixup
* fix events occupying an additional day in calendar view if starting and ending at 0:00
This commit is contained in:
parent
40717a8057
commit
ce020204cb
1 changed files with 2 additions and 2 deletions
|
|
@ -106,8 +106,8 @@ class WorldEventList extends DBTypeList
|
|||
{
|
||||
WorldEventList::updateDates($row['_date'] ?? null, $start, $end, $rec);
|
||||
|
||||
$row['startDate'] = $start ? date(Util::$dateFormatInternal, $start) : null;
|
||||
$row['endDate'] = $end ? date(Util::$dateFormatInternal, $end) : null;
|
||||
$row['startDate'] = $start ? date(Util::$dateFormatInternal, $start) : null;
|
||||
$row['endDate'] = $end ? date(Util::$dateFormatInternal, $end - 1) : null;
|
||||
$row['rec'] = $rec;
|
||||
|
||||
unset($row['_date']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue