Loading lib/Travelynx/Helper/HAFAS.pm +5 −5 Original line number Diff line number Diff line Loading @@ -85,11 +85,11 @@ sub get_json_p { sub get_departures_p { my ( $self, %opt ) = @_; my $when = $opt{timestamp} my $when = ( $opt{timestamp} ? $opt{timestamp}->clone : DateTime->now( time_zone => 'Europe/Berlin' ); ->subtract( minutes => $opt{lookbehind} ); : DateTime->now( time_zone => 'Europe/Berlin' ) )->subtract( minutes => $opt{lookbehind} ); return Travel::Status::DE::HAFAS->new_p( station => $opt{eva}, datetime => $when, Loading Loading
lib/Travelynx/Helper/HAFAS.pm +5 −5 Original line number Diff line number Diff line Loading @@ -85,11 +85,11 @@ sub get_json_p { sub get_departures_p { my ( $self, %opt ) = @_; my $when = $opt{timestamp} my $when = ( $opt{timestamp} ? $opt{timestamp}->clone : DateTime->now( time_zone => 'Europe/Berlin' ); ->subtract( minutes => $opt{lookbehind} ); : DateTime->now( time_zone => 'Europe/Berlin' ) )->subtract( minutes => $opt{lookbehind} ); return Travel::Status::DE::HAFAS->new_p( station => $opt{eva}, datetime => $when, Loading