OpendataCH/Transport — pull request #32 by dol (2012-04-01 22:30:20+00:00)
Title: Enhancement: Prognosis displayes difference in minutes instead of non ISO time

The prognosis only displays the time of the event, but not the difference between the departure/arrival time.
This was changed in this push request. To make the calculation easier, all the relevant dates and methods are converted to use the PHP5.3 class \DateTime.
The advantage using \DateTime over strtotime/date() is the hard coding of the timezone. This makes the code more reliable against global (php.ini, server setting) timezone settings.

* This pull request also fixed an issue with the prognosis for arrivals. The platform and time was mixed up.