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

Take into account that JS enumerates months from 0 to 11 #327

Merged
merged 1 commit into from
Oct 6, 2020
Merged

Take into account that JS enumerates months from 0 to 11 #327

merged 1 commit into from
Oct 6, 2020

Conversation

AlbertoPdRF
Copy link
Owner

While reviewing #312 I totally forgot that JavaScript enumerates months from 0 to 11 instead of from 1 to 12. This PR takes that into account!

CC: @Be-Like 👀

@AlbertoPdRF AlbertoPdRF added bug Something isn't working back end Requires work on the back end of the application labels Oct 6, 2020
@Be-Like
Copy link
Contributor

Be-Like commented Oct 6, 2020

You're right, those should just be 0 to 11 rather than 01. 👍

@AlbertoPdRF AlbertoPdRF merged commit 814bedc into AlbertoPdRF:master Oct 6, 2020
@AlbertoPdRF AlbertoPdRF deleted the fix-months-on-population branch October 6, 2020 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back end Requires work on the back end of the application bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants