contao/test — Issue #1473: calendar day_view not displaying events started "yesterday"
Author: importer
Created: 2011-11-29 07:58:40+00:00
State: open
Labels: calendar, Defect

i don't know yet whether this is intended behavior or not, but following reproduces my problem:

* create an event spanning two days (friday and saturday)
* browse to the day view for friday and for saturday

expected:
* event is visible on both days
actual:
* event is only visible on the first day, e.g. friday

same problem with recurring events.

problem is in ModuleEventList.php
* 2.7.6: source:tags/typolight-2.7.6/system/modules/calendar/ModuleEventlist.php (line 169)
* trunk: source:trunk/system/modules/calendar/ModuleEventlist.php (line 157)

Events::addEvent() adds a new event with the key "Ymd" of its start date, and in the Eventlist it gets removed afterwards.

first question: bug/glitch/defect or expected behavior?
second question: where should it be fixed? in Events::addEvent() or in the ModuleEventList ?

--- _Originally created by axo on January 29th, 2010, at 10:01am (ID 1473)_