6.0.0-alpha14
7/2/25

[#9012] Day View: all-day event appears also on previous day
Summary Day View: all-day event appears also on previous day
Queue Kronolith
Queue Version 2.3.4
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester patrick.abiven (at) apitech (dot) fr
Created 05/10/2010 (5532 days ago)
Due
Updated 05/13/2010 (5529 days ago)
Assigned
Resolved 05/13/2010 (5529 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/13/2010 05:31:21 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
05/10/2010 11:31:16 AM patrick (dot) abiven (at) apitech (dot) fr Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Day View: all-day event appears also on previous day
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hello
We notice a strange behavior when displaying all-day events in the day view.
In some cases (for example an all-day event created on februray 2th 
2010), this event is also shown on the februrary 1st 2010  (in Day 
View only). But if the all-day event is created on februrary 3th it is 
not shown on februray. May be a side effect on some calculations ?
As far as the sql request for all-day covers many days (cf 
http://bugs.horde.org/ticket/9011), and that all-day events require a 
specific traitment in the parse() function of lib/Views/Day.php, we 
add a test ($event->start->mday == $this->mday)  before adding the 
event to the $this->_all_day_event array.
Thanks for your advises.

Saved Queries