Unverified Commit b978ba6b authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

oops

parent 38e03bcc
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -86,8 +86,9 @@ sub get_departures_p {
	my ( $self, %opt ) = @_;

	my $when
	  = ( $opt{timestamp}->clone
		  // DateTime->now( time_zone => 'Europe/Berlin' ) )
	  = $opt{timestamp}
	  ? $opt{timestamp}->clone
	  : DateTime->now( time_zone => 'Europe/Berlin' );
	->subtract( minutes => $opt{lookbehind} );
	return Travel::Status::DE::HAFAS->new_p(
		station    => $opt{eva},