Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#9129 closed defect (fixed)

TimeTextBox: times generate different days affecting comparison

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: high Milestone: 1.4
Component: Dijit - Form Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

When you use a TimeTextBox? out of the box, the date used is Jan 1, 1970 until you scroll past midnight and then it keeps changing the more you scroll. The user doesn't see this, and thus if 1 widget returns 1pm (Jan 1, 1970 hidden) and a 2nd widget returns 6am (Jan 2, 1970 hidden), then the 6am will be numerically greater than 1pm whihc is nonobvious. I think if the selector=="time" then the same date should be returned for all times.

Change History (4)

comment:1 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [17297]) Fixes #9129. Set date to 1/1/1970 if only selecting a time.

comment:2 Changed 11 years ago by bill

(In [17376]) refresh() should clear the this._hrefChanged flag, since that's really a flag to indicate that a load is needed.

Also moved some code from _setContents() to destroyDescendants() about erasing state information about the contents.

Fixes #9129, #9179 !strict.

comment:3 Changed 11 years ago by bill

Oops, above comment was really for #9121.

comment:4 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.