Opened 7 years ago
Closed 5 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 7 years ago by
Owner: | set to dg |
---|---|
Status: | new → assigned |
comment:2 Changed 7 years ago by
comment:3 Changed 5 years ago by
Milestone: | tbd → 1.10 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Was accepted a long time ago.
Note: See
TracTickets for help on using
tickets.
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