uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.7k stars 1.27k forks source link

date --date does not support strings like "Jul 18 06:14:49 2024 GMT" #6644

Open joergdw opened 2 months ago

joergdw commented 2 months ago

Dear maintainers,

unlike coreutils from the GNU project, date can not deal with the following situation:

date --date "Jul 18 06:14:49 2024 GMT" +%s
#> date: invalid date 'Jul 18 06:14:49 2024 GMT'

Can you please add support for time strings in that format?

joergdw commented 2 months ago

Perhaps this is related to https://github.com/uutils/coreutils/issues/2685.

dhilst commented 2 months ago

I'm working on this in https://github.com/uutils/coreutils/pull/6667