6.0.0-git
2021-01-18

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

History
2005-08-15 22:23:53 Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks.
2005-08-15 19:52:45 t (dot) zell (at) gmx (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Date() usage in javascript calendar incompatible with Safari
Queue ⇒ Horde Base
New Attachment: open_calendar_js_patch.diff Download
Reply to this comment
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.


Saved Queries