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

Use iso8601 library to any of the possible iso8601 date format variation... #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fdChasm
Copy link

@fdChasm fdChasm commented Aug 18, 2014

Resolves #2

import iso8601
example_dates = ["2010-01-01T00:00:00Z", "2010-01-01T00:00:00", "2010-01-01T00:00:00.001Z", "2010-01-01T00:00:00.001"]
for example_date in example_dates:
    print(iso8601.parse_date(example_date))

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.

GPSies Garmin course tcx date format uses unsupported iso8601 variation
1 participant