Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Conversation

@monestereo
Copy link
Contributor

date.getMonth() will always be false in january, as it returns the month from 0 to 11.
This leads to the 'date-typer' functionality not working at all in january.
if the date is invalid (which is what i think you want to check there) it will return NaN.

45kb added a commit that referenced this pull request Dec 9, 2015
fix date-typer functionality for january
@45kb 45kb merged commit c2be4cd into 720kb:master Dec 9, 2015
@45kb
Copy link
Member

45kb commented Dec 9, 2015

Thank you @monestereo 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants