From 11ccc34a5b21f42a94143dac0f6e48cc32786b4b Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 19 May 2024 20:01:47 +0200 Subject: EFA->new: fix $now -> $dt rename. oops --- lib/Travel/Status/DE/EFA.pm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/Travel/Status') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 27e6039..5e501a6 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -184,7 +184,7 @@ sub new { if ( $opt{time} and $opt{time} =~ m{ ^ (? \d\d? ) : (? \d\d ) $ }x ) { - $now->set( + $dt->set( hour => $+{hour}, minute => $+{minute} ); @@ -200,14 +200,14 @@ sub new { ) { if ( $+{year} ) { - $now->set( + $dt->set( day => $+{day}, month => $+{month}, year => $+{year} ); } else { - $now->set( + $dt->set( day => $+{day}, month => $+{month} ); @@ -222,17 +222,17 @@ sub new { command => q{}, deleteAssignedStops_dm => '1', help => 'Hilfe', - itdDateDay => $now->day, - itdDateMonth => $now->month, - itdDateYear => $now->year, + itdDateDay => $dt->day, + itdDateMonth => $dt->month, + itdDateYear => $dt->year, itdLPxx_id_dm => ':dm', itdLPxx_mapState_dm => q{}, itdLPxx_mdvMap2_dm => q{}, itdLPxx_mdvMap_dm => '3406199:401077:NAV3', itdLPxx_transpCompany => 'vrr', itdLPxx_view => q{}, - itdTimeHour => $now->hour, - itdTimeMinute => $now->minute, + itdTimeHour => $dt->hour, + itdTimeMinute => $dt->minute, language => 'de', mode => 'direct', nameInfo_dm => 'invalid', -- cgit v1.2.3