OpendataCH/Transport — pull request #28 by rndstr (2012-03-31 13:51:38+00:00)
Title: Move "date" into "from" and "to" objects / ISOformat (Issue #20)

This closes #20

/connections Before:

{
"date": "2012-03-31",
"from": {
"arrival": null,
"departure": "23:34:00",
...
},
"to": {
"arrival": "01d00:33:00",
"departure": null,
...
}
},

/connections Now:

{
"from": {
"arrival": null,
"departure": "2012-03-31T23:34:00+02:00",
...
},
"to": {
"arrival": "2012-04-01T00:33:00+02:00",
"departure": null,
...
}
},

/stationboard Before:
....
departure: "15:09"
....

/stationboard Now:
....
departure: "2012-03-31T15:09:00+02:00"
....

Also, the date wraps around if it goes past midnight