Opened 15 years ago

Closed 15 years ago

#2526 closed defect (fixed)

Bug in date picker after calling setDate("") on DropdownDatePicker

Reported by: [email protected] Owned by: tk
Priority: high Milestone:
Component: Widgets Version: 0.4.2rc1
Keywords: Cc: Adam Peller tk
Blocked By: Blocking:


When you set an empty string to a DropdownDataPicker? with the setDate method, the datepicker print bad values (NaN) on the calendar.

Change History (4)

comment:1 Changed 15 years ago by Adam Peller

possible dup of #1692?

comment:2 Changed 15 years ago by tk

Not a dupe, #1692 is related to something like setDate("mom's birthday");

This bug is related to i18n, basically i18n is returning invalid values when there is no value...

DatePicker? and DropdownDatePicker? both work fine with setDate(); as long as no lang is set, that is what I saw from the test cases shown last night.

comment:3 Changed 15 years ago by tk

Correction, its the call to* that doesnt work... which might call i18n... I was being a bit retarded when I made that statement I guess.

comment:4 Changed 15 years ago by tk

Cc: peller tk added; Adam Peller removed
Resolution: fixed
Status: newclosed

This is fixed in trunk. It was decided not to merge this into 0.4.2 due to lack of testing time left in the RC period.

Note: See TracTickets for help on using tickets.