diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-05 08:28:15 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-05 08:28:15 +0100 |
commit | 480dee69c5e19be64693228734c0922adcab8f80 (patch) | |
tree | 3ff53c337aa3be348ee44c80c09f243b6a448453 /lib | |
parent | 4b3826b733dbe0a945073476d91983b8eb179486 (diff) |
perltidy; remove left-over debug statement
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 9c09431..b549c70 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -460,8 +460,8 @@ sub handle_request { if ( $self->param('train') and not $opt{datetime} ) { - # request results from twenty minutes ago to avoid train details suddenly - # becoming unavailable when its scheduled departure is reached. + # request results from twenty minutes ago to avoid train details suddenly + # becoming unavailable when its scheduled departure is reached. $opt{datetime} = DateTime->now( time_zone => 'Europe/Berlin' ) ->subtract( minutes => 20 ); $opt{lookahead} = $self->config->{lookahead} + 20; @@ -1174,7 +1174,6 @@ sub train_details { if ( $+{year} ) { $opt{datetime}->set( year => $+{year} ); } - say "set $opt{datetime}"; } } |