mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
parent
9203ed1481
commit
4ee1b27ae6
2 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "hafas-client",
|
"name": "hafas-client",
|
||||||
"description": "JavaScript client for HAFAS mobile APIs.",
|
"description": "JavaScript client for HAFAS mobile APIs.",
|
||||||
"version": "1.2.6",
|
"version": "1.3.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
"index.js",
|
"index.js",
|
||||||
|
|
4
parse.js
4
parse.js
|
@ -119,6 +119,10 @@ const part = (tz, s, ln, r, c) => (pt) => {
|
||||||
when: dateTime(tz, c.date, a.stopL[0].dTimeS).format()
|
when: dateTime(tz, c.date, a.stopL[0].dTimeS).format()
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// todo: follow public-transport/friendly-public-transport-format#27 here
|
||||||
|
if (pt.dep.dCncl && pt.arr.dCncl) result.cancelled = true
|
||||||
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue