[Tickets #1049] Weekday calculation error when "first weekday" set to Monday

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Jan 3 15:16:46 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1049
-----------------------------------------------------------------------
 Ticket     | 1049
 Updated By | goncal.badenes at icfo.es
 Summary    | Weekday calculation error when "first weekday" set to Monday
 Queue      | Kronolith
 Version    | 2.0
 State      | Feedback
 Priority   | 2. Medium
 Type       | Bug
 Owners     | Chuck Hagenbuch
+Attachment | diff.txt
-----------------------------------------------------------------------


goncal.badenes at icfo.es (2005-01-03 15:16) wrote:

Your suggestion has made me find out that the problem only occurs if the
"show calendars side by side" is also selected (which was the case for
me!).

If my understanding is correct, the bug can then be tracked down to
templates/month/head_side_by_side.inc, which does not take into account the
offset in the day of the month if Monday has been chosen as the first
weekday.

I have patched head_side_by_side.inc and everything seems to be working fine
for me now. However, I would feel more confident if you could take a look at
the patch (attached) and check whether this is the correct way of solving
the problem and/or whether it would break something else.

Cheers,

    Gonçal




More information about the bugs mailing list