Bug in dojo/date

I believe there is a bug in dojo/date, at line 161. It is: var trgt = (strt + days) , it should be: var trgt = (strt + days) % 7;.
(came out as I was answering a question on stackoverflow (see here).

In case there would be a new release of dojo 1.x :slightly_smiling_face: