mpetazzoni / leaflet-gpx

A GPX track plugin for Leaflet.js
http://mpetazzoni.github.io/leaflet-gpx
BSD 2-Clause "Simplified" License
545 stars 118 forks source link

new: added helper method for ISO-like duration representation #61

Closed znegva closed 7 years ago

znegva commented 7 years ago

added a little helper method to represent durations in an ISO-like format, see wikipedia for some details.

Maybe the old get_duration_string should be called get_duration_string_imp, but this would be a breaking change...

mpetazzoni commented 7 years ago

Thanks!