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

Properly parse ISO 8601 date strings to Timestamp #86

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

phijor
Copy link
Contributor

@phijor phijor commented Mar 17, 2021

This implements #7, option 2.

@phijor phijor added this to the v2.0.0 milestone Mar 17, 2021
@phijor phijor linked an issue Mar 17, 2021 that may be closed by this pull request
@phijor phijor requested a review from tilsche March 17, 2021 11:39
Let `dateutil.parser.isoparse` [1] do the actual parsing, this is way
more robust than anything we could come up with.  Now, more timezones
than just UTC can be parsed.

[1] https://dateutil.readthedocs.io/en/stable/parser.html#dateutil.parser.isoparse
@phijor phijor force-pushed the fix-timestamp-iso8601-parsing branch from 6c3da0d to d553960 Compare March 18, 2021 11:32
@phijor phijor merged commit c9b2687 into master Mar 18, 2021
@phijor phijor deleted the fix-timestamp-iso8601-parsing branch March 18, 2021 12:13
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.

Timestamps from iso strings
2 participants