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

date: YYYY-MM-DD parsed incorrectly #6392

Closed
rrconkle opened this issue May 11, 2024 · 0 comments · Fixed by uutils/parse_datetime#76 · May be fixed by #6401
Closed

date: YYYY-MM-DD parsed incorrectly #6392

rrconkle opened this issue May 11, 2024 · 0 comments · Fixed by uutils/parse_datetime#76 · May be fixed by #6401
Labels

Comments

@rrconkle
Copy link

When the day in the YYYY-MM-DD format is 1 character long, an extra zero is added to the end

$ uu-date -d 2000-1-1
Mon Jan 10 00:00:00 2000
$ uu-date -d 2000-1-4
uu-date: invalid date '2000-1-4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants