[Tickets #1868] NEW: Incorrect size calculation for FB (work)week view

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Apr 26 05:44:42 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1868
-----------------------------------------------------------------------
 Ticket             | 1868
 Created By         | tasin at fhm.edu
 Summary            | Incorrect size calculation for FB (work)week  view
 Queue              | Kronolith
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | FBView.diff
-----------------------------------------------------------------------


tasin at fhm.edu (2005-04-26 05:44) wrote:

- Since the changement from fix time grids to variable time grids (i.e.
implementing startHour and endHour), the size of the busy blocks are not
calculated correctly. It will only calculate correctly if the range is
exactly 9 hours.
- Even the calculation of the number of blocks a day will not be correctly,
if the time range for a day isn't dividable by 3 (modulus != 0).
- if endHours is set to 19:30 (i.e. 39), any view is calculated only for
19:00 due to the floor() call in FBView.php
- This patch makes _getBlockes() inside workview.php obsolete (and so the
patch should also close Bug #1557 for HEAD).





More information about the bugs mailing list