Skip to content
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

Improve parsing of Date input formats #384

Open
hanbings opened this issue May 12, 2024 · 2 comments
Open

Improve parsing of Date input formats #384

hanbings opened this issue May 12, 2024 · 2 comments

Comments

@hanbings
Copy link
Collaborator

hanbings commented May 12, 2024

There are 10 time parsing formats mentioned in the GNU findutils manual: https://www.gnu.org/software/findutils/manual/html_node/find_html/Date-input-formats.html

Include:
General date syntax
Calendar date items
Time of day items
Time zone items
Combined date and time of day items
Day of week items
Relative items in date strings
Pure numbers in date strings
Seconds since the Epoch
Specifying time zone rules

However, we currently only support parsing of General date syntax.

@tertsdiepraam
Copy link
Member

tertsdiepraam commented May 12, 2024

This probably fits what we're doing in the parse_datetime repository!

@hanbings
Copy link
Collaborator Author

cool! It seems so.
I would use it as a dependency to replace the existing parsing function. : )

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

No branches or pull requests

2 participants