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

fix: fix handling of datetime with less than 3 fractional digits for seconds (#14) #16

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

Allob
Copy link
Collaborator

@Allob Allob commented Nov 27, 2023

fixes #14
The datetime.fromisoformat() function from python 3.10, does not support 1 or 2 fractional digits for seconds.
Have to switch to dateutils here, which can handle this format correctly.

@Allob Allob self-assigned this Nov 27, 2023
@adubovik adubovik self-requested a review November 27, 2023 14:51
@Allob
Copy link
Collaborator Author

Allob commented Nov 27, 2023

/deploy-review

Deployment status: failed

@Allob
Copy link
Collaborator Author

Allob commented Nov 28, 2023

/deploy-review

Deployment status: success

@Allob Allob merged commit b610069 into development Nov 28, 2023
4 checks passed
@nepalevov nepalevov deleted the f/14-fix-datetime branch November 28, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValueError: Invalid isoformat string: '2023-11-24T03:33:40.39'
2 participants