private function parseDateTimes($datetimes)
    {
        foreach ($datetimes as &$datetime) {
            $datetime->date_time = new \DateTime($datetime->date_time);
        }

        return $datetimes;
    }
private function parseDateTimes($datetimes)
    {
        foreach ($datetimes as &$datetime) {
            $datetime->date_time = new \DateTime($datetime->date_time);
        }

        return $datetimes;
    }
private function parseDateTimes ( $ datetimes ) { foreach ( $ datetimes as & $ datetime ) { $ datetime -> date_time = new \ DateTime ( $ datetime -> date_time ) ; } return $ datetimes ; }
Converts strings coming from Navitia as T230200 into php DateTime objects
Converts strings coming from Navitia as T230200 into php DateTime objects