as i've detailed in #6, the issue is that ÖBB uses much longer HAFAS IDs that don't share the DB HAFAS format. i've added logic to check if the current ID looks like an ÖBB style ID, and if so, extract the $date_ref value for cross-midnight correction from the right spot.
i haven't tested this late at night yet (not sure if that's even necessary?) but testing with --date and --time seems to confirm that the library can process cross-midnight journeys again:
(for debugging i added the date to departure times, this is not part of the patch)
as i've detailed in #6, the issue is that ÖBB uses much longer HAFAS IDs that don't share the DB HAFAS format. i've added logic to check if the current ID looks like an ÖBB style ID, and if so, extract the
$date_ref
value for cross-midnight correction from the right spot. i haven't tested this late at night yet (not sure if that's even necessary?) but testing with--date
and--time
seems to confirm that the library can process cross-midnight journeys again: (for debugging i added the date to departure times, this is not part of the patch)