New issue

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

fix zero index for months() and weekdays() #1171

merged 1 commit into from Oct 9, 2013


None yet
2 participants

icambron commented Oct 8, 2013

Noticed a bug in months() and company: it doesn't work as expected when you ask for month 0.


This comment has been minimized.


ichernev commented Oct 9, 2013

Good catch, thanks!

ichernev added a commit that referenced this pull request Oct 9, 2013

Merge pull request #1171 from icambron/month-zero
fix zero index for months() and weekdays()

@ichernev ichernev merged commit 95c86ea into moment:develop Oct 9, 2013

1 check passed

default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment