[Koha-bugs] [Bug 1768] Calendar always returns to current month

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Tue Mar 4 15:48:46 CET 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1768


oleonard at myacpl.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Linux - Other               |All
           Platform|PC                          |All
            Version|rel_3_0                     |HEAD




------- Comment #1 from oleonard at 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.





More information about the Koha-bugs mailing list