Add: DateTime handling when displaying delay

This commit is contained in:
williameriksson126
2020-12-10 12:32:40 +01:00
parent cf977ccb1f
commit cd2a61947f
5 changed files with 35 additions and 19 deletions

View File

@ -27,25 +27,25 @@
}
},
{
"name": "Buss 123",
"sname": "123",
"journeyNumber": "24",
"name": "Buss 920",
"sname": "920",
"journeyNumber": "2",
"type": "BUS",
"stopid": "9022014014754002",
"stop": "Bollestadsvägen, Kungälv",
"time": "10:20",
"time": "12:26",
"date": "2020-12-10",
"journeyid": "9015014621000024",
"direction": "Ingenstans",
"journeyid": "9015014692000002",
"direction": "Bredsten",
"track": "B",
"rtTime": "10:11",
"rtTime": "12:26",
"rtDate": "2020-12-10",
"fgColor": "#006C93",
"bgColor": "#FFFFFF",
"stroke": "Solid",
"accessibility": "wheelChair",
"JourneyDetailRef": {
"ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=347217%2F124275%2F19874%2F105802%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14754002%26station_type%3Ddep%26format%3Djson%26"
"ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=210630%2F70533%2F834318%2F346949%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14754002%26station_type%3Ddep%26format%3Djson%26"
}
}
]

View File

@ -27,25 +27,25 @@
}
},
{
"name": "Buss 123",
"sname": "123",
"journeyNumber": "24",
"name": "Buss 920",
"sname": "920",
"journeyNumber": "2",
"type": "BUS",
"stopid": "9022014014754002",
"stop": "Bollestadsvägen, Kungälv",
"time": "10:20",
"time": "12:28",
"date": "2020-12-10",
"journeyid": "9015014621000024",
"direction": "Ingenstans",
"journeyid": "9015014692000002",
"direction": "Bredsten",
"track": "B",
"rtTime": "10:11",
"rtTime": "12:26",
"rtDate": "2020-12-10",
"fgColor": "#006C93",
"bgColor": "#FFFFFF",
"stroke": "Solid",
"accessibility": "wheelChair",
"JourneyDetailRef": {
"ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=347217%2F124275%2F19874%2F105802%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14754002%26station_type%3Ddep%26format%3Djson%26"
"ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=210630%2F70533%2F834318%2F346949%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14754002%26station_type%3Ddep%26format%3Djson%26"
}
}
]