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

fixed issue when GPX file has only a timestamp on the first point. #27

Merged
merged 2 commits into from
Mar 6, 2018

Conversation

roynijkamp
Copy link
Contributor

Added check if lastPoint->time exists.

@Sibyx
Copy link
Owner

Sibyx commented Mar 6, 2018

Thanks for your PR, can you please add also check if the $lastPoint->time is an instance of \DateTime just to be sure?

@roynijkamp
Copy link
Contributor Author

Sibyx, i just added the check for instance of \DateTime

@Sibyx Sibyx self-requested a review March 6, 2018 12:25
@Sibyx Sibyx merged commit edd7b3e into Sibyx:master Mar 6, 2018
@Sibyx
Copy link
Owner

Sibyx commented Mar 6, 2018

Looks good to me, merging. Thank you for your contribution

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.

None yet

2 participants