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

Support combined datetime format with subseconds (yyyyMMddhhmmss.SSS) #143

Open
dferstay opened this issue Nov 11, 2021 · 0 comments · May be fixed by #144 or #159
Open

Support combined datetime format with subseconds (yyyyMMddhhmmss.SSS) #143

dferstay opened this issue Nov 11, 2021 · 0 comments · May be fixed by #144 or #159

Comments

@dferstay
Copy link

We have support for a unixy combined timstamp format of the form yyyyMMddhhmmss

However, some systems log with subseconds appended, for example:

20140722105203.364

The above should parse as: "2014-07-22 10:52:03.364 +0000 UTC"

But parsing fails with the error:

parsing time "20140722105203.364": month out of range
dferstay pushed a commit to dferstay/dateparse that referenced this issue Nov 11, 2021
Fixes araddon#143

Signed-off-by: Daniel Ferstay <dferstay@splunk.com>
dferstay pushed a commit to dferstay/dateparse that referenced this issue Nov 11, 2021
Fixes araddon#143

Signed-off-by: Daniel Ferstay <dferstay@splunk.com>
klondikedragon added a commit to itlightning/dateparse that referenced this issue Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant