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

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Aug 15 12:50:43 PDT 2005


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

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


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

The javascript calendar in goto.inc 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.

I filed the same bugreport for the open_calendar.js from the Horde base
package.




More information about the bugs mailing list