Opened 4 years ago

Last modified 2 years ago

#18662 assigned defect

dojox/calendar/SimpleColumnView creates wrong Date-objects

Reported by: gerhard presser Owned by: dg
Priority: undecided Milestone: 1.14
Component: Dojox Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

when constructing the column labels (line 1231), a new Date() is constructed - instead the newDate() function from ViewBase? or the dateClassObj (as in _layoutTimeIndicator-function) should be used to allow custom date-object-types

var d = this.newDate(new Date());
d.setFullYear(2000,0,1);
d.setHours(0,0,0,0);

we are using the calender in a timezone-aware environment (we are not using the client timezone). therefore we are using a custom date implementation (via datePackage) which correctly handles setHours() etc.

Change History (3)

comment:1 Changed 4 years ago by bill

Owner: changed from Adam Peller to dg
Status: newassigned

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12

comment:3 Changed 2 years ago by dylan

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