mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
earlierThan/laterThan: clarify docs 📝
This commit is contained in:
parent
1aac40079a
commit
ca382f1c16
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ Some [profiles](../p) are able to parse the ticket information, if returned by t
|
|||
|
||||
If a journey leg has been cancelled, a `cancelled: true` will be added. Also, `departure`/`departureDelay`/`departurePlatform` and `arrival`/`arrivalDelay`/`arrivalPlatform` will be `null`.
|
||||
|
||||
To get more journeys earlier/later than the current set of results, use `journey.earlierRef`/`journey.laterRef` as follows:
|
||||
To get more journeys earlier/later than the current set of results, pass `journeys.earlierRef`/`journeys.laterRef` into `opt.earlierThan`/`opt.laterThan`. For example, query *later* journeys as follows:
|
||||
|
||||
```js
|
||||
const hbf = '900000003201'
|
||||
|
|
Loading…
Add table
Reference in a new issue