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 |
State ⇒ Resolved
Fix all-day events sometimes showing up an day early too (
Bug #9012).http://cvs.horde.org/diff.php/kronolith/docs/CHANGES?rt=horde&r1=1.165.2.289&r2=1.165.2.290&ty=u
http://cvs.horde.org/diff.php/kronolith/lib/Views/Day.php?rt=horde&r1=1.29.2.3&r2=1.29.2.4&ty=u
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Day View: all-day event appears also on previous day
Type ⇒ Bug
State ⇒ Unconfirmed
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.