Commit graph

38 commits

Author SHA1 Message Date
Traines
c6bb1b468a fixes for journeyID and fahrtNr 2024-12-10 22:49:11 +00:00
Traines
c663a35711 switch to regio-guide ris for boards 2024-12-10 17:51:20 +00:00
Traines
f8a79834b3 linting 2024-12-08 21:42:57 +00:00
Traines
80e633dcb7 arrival/departure, refactoring 2024-12-07 22:46:04 +00:00
Traines
2e094c2b78 initial db-vendo with /journeys (wip) 2024-12-07 16:17:16 +00:00
Kristjan ESPERANTO
66d9fb5194
apply linting rules
follow-up of 228c7253
2024-02-10 16:50:12 +01:00
Jannis R
339d64e901
convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
Jannis R
c88179777d
put todos 2022-10-24 17:29:23 +02:00
Jannis R
0f7382e3b8
parse{Arrival,Departure}: properly parse .origin & .destination 🐛
fixes #273

Co-Authored-By: Jürgen Bergmann <bergmannj@posteo.de>
2022-10-15 14:02:11 +02:00
Jannis R
95af0a0127
parse{Arrival,Departure}: expose prognosisType
fixes #266
2022-07-22 01:07:09 +02:00
Benoit Deldicque
57084262a2
add departure.destination & arrival.origin 📝
closes #260
fixes #259

Co-Authored-By: Jannis R <mail@jannisr.de>
2022-02-21 11:43:27 +01:00
Jannis R
3453cbe159
parseArrOrDep: expose stbStop.{rem,msg}L as remarks[] as well 2021-10-28 12:42:55 +02:00
Jannis R
c1ee557cf8
parseArrOrDep: export currentTripLocation 📝 2021-10-12 17:53:28 +02:00
Leo Maroni
2612494970
fix platform parsing with some profiles 🐛
closes #187
2020-08-01 18:26:30 +02:00
Julius Tens
3ca4a0c2b2 add provenance field on arrivals 2020-06-09 18:02:33 +02:00
Jannis R
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Julius Tens
df010fc24c enable no-irregular-whitespace and no-mixed-spaces-and-tabs rules, fix non-compliant whitespace 2020-02-27 17:10:03 +01:00
Julius Tens
c072a70c57 soothe the linter: remove unused variables 2020-02-27 17:10:03 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥 2020-01-05 18:10:09 +01:00
Jannis R
938a6f22b9
add planned*Platform, scheduled* -> planned/prognosed* 💥 2020-01-05 17:55:27 +01:00
Jannis R
29a2cf36e9
add planned(Arrival|Departure|When), scheduled* -> planned*/prognosed* 💥
when not cancelled:
{when, delay} -> {when, plannedWhen, delay}
{arrival, arrivalDelay} -> {arrival, plannedArrival, arrivalDelay}
{departure, departureDelay} -> {departure, plannedDeparture, departureDelay}

when cancelled:
{when: null, delay: null, scheduledWhen} -> {when: null, plannedWhen, prognosedWhen, delay}
{arrival: null, arrivalDelay: null, scheduledArrival, formerArrivalDelay} -> {arrival: null, plannedArrival, arrivalDelay, prognosedArrival}
{departure: null, departureDelay: null, scheduledDeparture, formerDepartureDelay} -> {departure: null, plannedDeparture, departureDelay, prognosedDeparture}
2020-01-05 17:52:17 +01:00
Jannis R
6af8f6d5ec
parseCommon: resolve hint & warning references 2020-01-05 17:51:27 +01:00
Jannis R
62cc53ffcf
parseCommon: resolve location references 2020-01-05 17:51:27 +01:00
Jannis R
758deaf2d5
parseCommon: resolve line references 2020-01-05 17:51:27 +01:00
Jannis R
1cc453b778
parseArrOrDep, parseLocation: bugfixes 🐛 2019-10-28 17:43:27 +01:00
Jannis R
6aa57d4616
handle missing dirTxt 🐛 2019-04-01 19:22:10 +02:00
Jannis R
7e39a2f333
formerScheduled… -> scheduled… 💥 2019-02-28 16:45:40 +01:00
Jannis R
9c449958c4
remove (arrival|departure).trip, movement.trip 💥 2019-02-28 16:45:31 +01:00
Jannis R
ca1105f139
parseDateTime: parse timezone offset if given 💥 2019-02-28 16:44:09 +01:00
Jannis R
a9fd9ff814
parseDateTime: return ISO str/timestamp 💥 2019-02-28 16:44:09 +01:00
Jannis R
e867dac2ab
arrivals/departures: opt.stopovers for previous/next stopovers, docs 📝 2018-12-28 22:14:35 +01:00
Jannis R
044a5ee816
arrival.direction = null 🐛
For arrivals, `d.dirTxt` didn't contain the direction, but the origin.
2018-09-03 15:12:14 +02:00
Jannis R
12e61bea0a {arrival,departure}.station -> .stop 💥, adapt docs 📝 2018-07-13 16:07:23 +02:00
Jannis R
0d5a8fab1b
departures, arrivals, stopovers: former scheduled platform(s) 2018-07-09 13:12:26 +02:00
Jannis R
31973431ff
option not to parse remarks 2018-06-28 13:45:56 +02:00
Jannis R
17aeacf594
arrivals/departures: fix remarks parsing 🐛 2018-06-28 13:32:42 +02:00
Jannis R
d3815f80d7
arrivals/departures: parse & expose platforms 2018-06-27 17:19:49 +02:00
Jannis R
1d5f4ff31c parse arrivals 2018-06-26 18:13:41 +02:00