5.3.0-git
2014-11-28

[#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 2005-08-15 (3392 days ago)
Due
Updated 2005-08-15 (3392 days ago)
Assigned
Resolved 2005-08-15 (3392 days ago)
Milestone
Patch No

History
2005-08-15 22:18:42 Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
2005-08-15 19:50:42 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.