We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_dateLastMilliOfWeek : function(date) { var lastDayOfWeek = this._dateLastDayOfWeek(date); return new Date(lastDayOfWeek.getTime() + (MILLIS_IN_DAY)); }
this is wrong: if we have eg. sunday 00:00 and we want to get monday 00:00, adding 24 hours to sunday 00:00 ain't monday 00:00...
fix:
_dateLastMilliOfWeek : function(date) { var lastDayOfWeek = this._dateLastDayOfWeek(date); lastDayOfWeek.setDate(lastDayOfWeek.getDate() + 1); return lastDayOfWeek; }
The text was updated successfully, but these errors were encountered:
e813364
test for #49
71981a9
3d771c8
0c30d5e
ludovicPelle
No branches or pull requests
this is wrong:
if we have eg. sunday 00:00 and we want to get monday 00:00, adding 24 hours to sunday 00:00 ain't monday 00:00...
fix:
The text was updated successfully, but these errors were encountered: