Checks
Describe the bug you encountered:
This, is rather unintuitive:
fd -u --changed-before=2025-11-31 1:02:18
[fd error]: '2025-11-31' is not a valid date or duration. See 'fd --help'.
If fd fails to parse the date, it should unwrap the inner error message and actually tell the user why this is not a valid date according to fd.
Describe what you expected to happen:
The fact that it might not be a valid day on that calendar year should be presented to the user. The natural inclination is to assume it's a formatting issue.
What version of fd are you using?
#fb1486f
Which operating system / distribution are you on?
Checks
Describe the bug you encountered:
This, is rather unintuitive:
If
fdfails to parse the date, it should unwrap the inner error message and actually tell the user why this is not a valid date according tofd.Describe what you expected to happen:
The fact that it might not be a valid day on that calendar year should be presented to the user. The natural inclination is to assume it's a formatting issue.
What version of
fdare you using?#fb1486fWhich operating system / distribution are you on?