Skip to content
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
merged 1 commit into from
Oct 9, 2013

Conversation

icambron
Copy link
Member

@icambron icambron commented Oct 8, 2013

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

@ichernev
Copy link
Contributor

ichernev commented Oct 9, 2013

Good catch, thanks!

ichernev added a commit that referenced this pull request Oct 9, 2013
fix zero index for months() and weekdays()
@ichernev ichernev merged commit 95c86ea into moment:develop Oct 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants