-
Notifications
You must be signed in to change notification settings - Fork 8
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
Date time parsing issue #5
Comments
Sorry, I am new to GitHub. Not familiar with the formatting effect (and the preview button) of the text in the post. This is a really nice piece of gpx module for python! == repost for easy viewing == Currently, the UTC date time in a GPX file is not parsed with UTC time zone. A suggestion is to use the python-dateutil and replace the current parsing approach with dateutil.parser.
Hope this fit with other parts well! Regards, |
Thanks for the suggestion. Can you create a PR? If you need help on how to do that let me know. Thanks |
What is a PR? Please suggest some online materials for reference on the On Tue, Aug 9, 2016 at 1:25 AM, Nick Lang [email protected] wrote:
Regards, |
PR = pull request. You can fork this repo under your namespace. Create the change you want. Commit it to your repo. Then you can create a PR from you're fork onto my repo. Then I can review and submit feedback/accept it. And merge your change set in to this Repo. |
Currently, the UTC date time in a GPX file is not parsed with UTC time zone.
A suggestion is to use the python-dateutil and replace the current parsing approach with dateutil.parser.
import dateutil.parser
def datetime_iso(string):
"""Parse an ISO formatted string. E.g:
2006-01-08T06:45:07Z
Modified by W. K. Lo 2016-06-09
Hope this fit with other parts well!
Regards,
wklogoo
The text was updated successfully, but these errors were encountered: