Closed stensrud closed 10 years ago
Thanks for this. Any chance you could just add a test for this or modify one of the existing tests. I'll merge it then.
Updated the test. However, I'm not exactly sure why the date in the parsed result is a string and not a Date-object (no getTime()-function on it), since gpxWaypoint creates a Date-object.
It should probably work like the waypoint class. I just had a look and it is constructing the date in the constructor. Maybe have the date working like that? Thanks
Elliot
Will update to use date object after merge. Thanks for your pull request.
Coverage increased (+0.61%) when pulling 4d00f627ec0a69c698f898faf703af67da50a9a9 on stensrud:master into efa2883b2433b9a6d7c3abe8cbe572dd08b61b24 on elliotstokes:master.