[Tickets #9012] Day View: all-day event appears also on previous day

bugs at horde.org bugs at horde.org
Mon May 10 11:31:18 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9012
------------------------------------------------------------------------------
  Ticket             | 9012
  Created By         | patrick.abiven at apitech.fr
  Summary            | Day View: all-day event appears also on previous day
  Queue              | Kronolith
  Version            | 2.3.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.abiven at apitech.fr (2010-05-10 07:31) wrote:

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.






More information about the bugs mailing list