[Tickets #2448] NEW: Date() usage in javascript calendar incompatible with Safari

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Aug 15 12:52:46 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2448
-----------------------------------------------------------------------
 Ticket             | 2448
 Created By         | t.zell at gmx.de
 Summary            | Date() usage in javascript calendar incompatible with Safari
 Queue              | Horde Base
 Version            | 3.0.5
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
+New Attachment     | open_calendar_js_patch.diff
-----------------------------------------------------------------------


t.zell at gmx.de (2005-08-15 12:52) wrote:

The javascript calendar in open_calendar.js calls the Date() object with
month=-1 and expects it to wrap this "out of range" value to month=11 and
year-=1.

While most browser in fact to this, Safari interprets this as month=0 and
leaves the year as it is. The effect is, that it is not possible to go
backwards one month if the current month is January.





More information about the bugs mailing list