koha-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 1768] Calendar always returns to current month
Date: Tue, 4 Mar 2008 06:48:46 -0800 (PST)

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


address@hidden changed:

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




------- Comment #1 from address@hidden  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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]