[Bug 1768] Calendar always returns to current month
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1768 oleonard@myacpl.org changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Linux - Other |All Platform|PC |All Version|rel_3_0 |HEAD ------- Comment #1 from oleonard@myacpl.org 2008-03-04 06:48 ------- Seems like this should be simple to do, but requires some date calculation in the script: 1. After a holiday is submitted, calculate the first day of the month in which that holiday falls (ex: 14 Jul 2008 -> 01 Jul 2008. 2. Return that date to the template (in the correct format, not sure what that is) 3. Set the calendar's default date property using the passed variable: Calendar docs say : "Calendar.setup property 'date', type: date, This allows you to setup an initial date where the calendar will be positioned to." ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
participants (1)
-
bugzilla-daemon@pippin.metavore.com