mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
d2402c798c
fixArrivalDate normalized the arrival and then looked for the time behind a leading date. The model usually sends the arrival as a bare clock, "13:00" with no date on it, and slicing ten characters off that leaves nothing to match, so the function returned early and stopped deriving the arrival date at all. Try the bare 12-hour form first, then fall back to the normalized string, which covers both shapes: "13:00", "01:11 pm", and a full date-time.