6.0.0-git
2019-04-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 2010-05-10 (3272 days ago)
Due
Updated 2010-05-13 (3269 days ago)
Assigned
Resolved 2010-05-13 (3269 days ago)
Milestone
Patch No

History
2010-05-13 17:31:21 Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
2010-05-10 11:31:16 patrick (dot) abiven (at) apitech (dot) fr Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Day View: all-day event appears also on previous day
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
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