Skip to content

m1y accepted as a valid date (while GNU version rejects it) #147

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

Open
drinkcat opened this issue May 26, 2025 · 0 comments · May be fixed by #150
Open

m1y accepted as a valid date (while GNU version rejects it) #147

drinkcat opened this issue May 26, 2025 · 0 comments · May be fixed by #150

Comments

@drinkcat
Copy link
Contributor

# Current time for reference
$ cargo run --config 'patch.crates-io.parse_datetime.path="../parse_datetime"' date
Mon May 26 14:53:08 CEST 2025
$ cargo run --config 'patch.crates-io.parse_datetime.path="../parse_datetime"' date -d "m1y"
Mon May 26 15:00:00 CEST 2025
$ date -d "m1y"
date: invalid date ‘m1y’
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 a pull request may close this issue.

1 participant