Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1487 closed defect (fixed)

Datepicker control enablement off by one

Reported by: Adam Peller Owned by: Karl Tiedt
Priority: high Milestone:
Component: Widgets Version: 0.4
Keywords: datepicker Cc:
Blocked By: Blocking:

Description

Look at tests/widget/test_DatePicker.html at the following two tests:

Same as first, with startDate of 10 September 2006 Same as first, with endDate of 10 September 2006

If you go forward/back a month, you cannot return to the month where you started using month controls (though you can wit week). Perhaps the comparison for enablement should just be the 1st of the month?

The same applies to the week and year controls. They're off by one and will not let you return to the initial state. Go from Sep 06 to Dec 06 then to Jan 07 and the 2006 button disappears.

Change History (2)

comment:1 Changed 13 years ago by tk

Resolution: fixed
Status: newclosed

revision 5751 fixes this problem

comment:2 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.