5.2.0-git
04/24/2014

[#2447] Date() usage in javascript calendar incompatible with Safari
Summary Date() usage in javascript calendar incompatible with Safari
Queue Kronolith
Queue Version 2.0.3
Type Bug
State Resolved
Priority 1. Low
Owners
Requester t.zell (at) gmx (dot) de
Created 08/15/2005 (3174 days ago)
Due
Updated 08/15/2005 (3174 days ago)
Assigned
Resolved 08/15/2005 (3174 days ago)
Milestone
Patch No

History
08/15/2005 10:18:42 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
08/15/2005 07:50:42 PM t (dot) zell (at) gmx (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Date() usage in javascript calendar incompatible with Safari
Queue ⇒ Kronolith
New Attachment: goto_inc_patch.diff Download
Reply to this comment
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.