jmesserli / slack-publictransport

Replaced by jmesserli/slack-publictransport-java
https://github.com/jmesserli/slack-publictransport-java
GNU General Public License v3.0
1 stars 0 forks source link

parse dates and display them nicely #19

Open jmesserli opened 8 years ago

jmesserli commented 8 years ago

Dates appear like this: 2016-07-01T08:54:00+0200. 08:54 would be better in this case.

Also durations are displayed like this: 00d00:12:00 or sometimes (walking) 00:06:00. This should always be the same and possibly in natural language like 6 min

jmesserli commented 8 years ago

See https://github.com/jmesserli/slack-publictransport/blob/master/Api/Model/Checkpoint.php#L54