8000 date --date does not support strings like "Jul 18 06:14:49 2024 GMT" · Issue #6644 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

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
joergdw opened this issue Aug 13, 2024 · 3 comments
Open

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

joergdw opened this issue Aug 13, 2024 · 3 comments
Labels

Comments

@joergdw
Copy link
joergdw commented Aug 13, 2024

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
Copy link
Author
joergdw commented Aug 13, 2024

Perhaps this is related to #2685.

@dhilst
Copy link
dhilst commented Aug 25, 2024

I'm working on this in #6667

@jfinkels
Copy link
Collaborator

The parsing now lives in https://github.com/uutils/parse_datetime so that's where this would need to be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
0