Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18903 closed defect (fixed)

dijit/CalendarLite does not accept January 1, 1970 00:00:00 as a valid date

Reported by: Neil Roberts Owned by: Michael Van Sickle <mvansickle@…>
Priority: undecided Milestone: 1.9.10
Component: Dijit Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:

Description

When converting a number to a date, dijit/CalendarList uses the following logic:

if(value){
	value = new this.dateClassObj(value);
	value.setHours(1, 0, 0, 0);
}

This prohibits January 1, 1970 00:00:00 from being used, as its timestamp is 0.

Change History (7)

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.12

comment:3 Changed 3 years ago by Michael Van Sickle <mvansickle@…>

Owner: set to Michael Van Sickle <mvansickle@…>
Resolution: fixed
Status: newclosed

In 5ba49ca/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 3 years ago by Michael Van Sickle <mvansickle@…>

In 10fa1e19/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:5 Changed 3 years ago by Michael Van Sickle <mvansickle@…>

In 1a44066/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:6 Changed 3 years ago by Michael Van Sickle <mvansickle@…>

In 4ff8b73/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:7 Changed 3 years ago by dylan

Milestone: 1.121.9.10
Note: See TracTickets for help on using tickets.