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
week5-juliette-oli-milly/src/datepicker.jsx
Lines 6 to 8 in 54c9747
I'd recommend not relying on string parsing for dates. It'll always get weird cause dates have so many edge-cases.
Luckily JS date objects have built-in methods for this stuff. E.g.
let date = new Date(); // 2022-02-11T10:14:04.717Z date.getDate(); // 11 date.getMonth() + 1; // 2 (months are 0-indexed lol)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
week5-juliette-oli-milly/src/datepicker.jsx
Lines 6 to 8 in 54c9747
I'd recommend not relying on string parsing for dates. It'll always get weird cause dates have so many edge-cases.
Luckily JS date objects have built-in methods for this stuff. E.g.
The text was updated successfully, but these errors were encountered: