summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-10-06 11:02:29 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-10-06 11:02:29 +0200
commita2d08bca26086c402c2249bf755f84abda8c83f6 (patch)
treee5dc923aa31abc1cf38e2dcb12404d17fd8244a0 /lib/Travelynx.pm
parente97c943154c2f025b85f3cde417ccb8d412df3e1 (diff)
derp1.9.5
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index d940063..931745e 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -2527,7 +2527,7 @@ sub startup {
# each stop to be the same -> ensure that it is not converted
# to DateTime twice.
if ( $times->{sched_arr}
- and ref( $times->{sched_arr} ) != 'DateTime' )
+ and ref( $times->{sched_arr} ) ne 'DateTime' )
{
$times->{sched_arr}
= epoch_to_dt( $times->{sched_arr} );
@@ -2542,7 +2542,7 @@ sub startup {
= $times->{rt_arr}->epoch - $epoch;
}
if ( $times->{sched_dep}
- and ref( $times->{sched_dep} ) != 'DateTime' )
+ and ref( $times->{sched_dep} ) ne 'DateTime' )
{
$times->{sched_dep}
= epoch_to_dt( $times->{sched_dep} );