diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-16 18:11:02 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2025-01-16 18:11:02 +0100 |
commit | f79d7c1e91c57959b55b698cf8ce24da133160dc (patch) | |
tree | 60bf64c33b4fcffe7a26304b5310fb585053251b | |
parent | 6abf917b75aa307b3fb6086addf428e2b5f5bd41 (diff) |
-rw-r--r-- | lib/Travelynx/Model/InTransit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Model/InTransit.pm b/lib/Travelynx/Model/InTransit.pm index 62e60f1..43ecb90 100644 --- a/lib/Travelynx/Model/InTransit.pm +++ b/lib/Travelynx/Model/InTransit.pm @@ -30,7 +30,7 @@ my %visibility_atoi = ( sub _epoch { my ($dt) = @_; - return $dt ? $dt->epoch : 0; + return $dt ? $dt->epoch : undef; } sub epoch_to_dt { |