Opened 6 years ago

Closed 4 years ago

#17357 closed defect (fixed)

floorToWeek returns wrong date when date is a sunday

Reported by: Ferdinand Weinberger Owned by: dg
Priority: undecided Milestone: 1.10
Component: Dojox Version: 1.9.1
Keywords: Cc:
Blocked By: Blocking:

Description

Hi! please check by example fiddle: http://jsfiddle.net/yNUY3/1/

i've seen that the calendar-demos are setting the wrong week if you select a sunday in teh datepicker http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/calendar/tests/calendar.html

by going into that problem it seems that dojox/calendar/time has an error in its floorToWeek function

best wishes, wuhi

Change History (3)

comment:1 Changed 6 years ago by bill

Owner: set to dg
Status: newassigned

comment:2 Changed 6 years ago by dg

It's already fixed in the repository: https://github.com/damiengarbarino/dojo-calendar

But because of the new hosting on github, the link must be updated to update the real dojo distribution.

I've done a pull request to include the fix of this bug (in addition to others).

If it's accepted, it should be in next version.

Regards

comment:3 Changed 4 years ago by dylan

Milestone: tbd1.10
Resolution: fixed
Status: assignedclosed

Was accepted a long time ago.

Note: See TracTickets for help on using tickets.