-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 should return error status on unparseable date #4525
Labels
Comments
Thanks! Seems like we were returning 1 in a lot of other cases, but missed this one :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This invocation should return an error status and not the But it failed! message, but that's not what it does (on 0.0.17 on Alpine x86_64):
date should return an error status when the
-d
string can't be parsed, just like GNU coreutils, Busybox, FreeBSD and Solaris already do.The text was updated successfully, but these errors were encountered: