Opened 15 years ago
Closed 15 years ago
#2526 closed defect (fixed)
Bug in date picker after calling setDate("") on DropdownDatePicker
Reported by: | Owned by: | tk | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.4.2rc1 |
Keywords: | Cc: | Adam Peller tk | |
Blocked By: | Blocking: |
Description
When you set an empty string to a DropdownDataPicker? with the setDate method, the datepicker print bad values (NaN) on the calendar.
http://thread.gmane.org/gmane.comp.web.dojo.user/25999/focus=26067
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
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
Correction, its the call to dojo.date.* 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
Cc: | peller tk added; Adam Peller removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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.
possible dup of #1692?