summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-01-16 18:11:02 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-01-16 18:11:02 +0100
commitf79d7c1e91c57959b55b698cf8ce24da133160dc (patch)
tree60bf64c33b4fcffe7a26304b5310fb585053251b
parent6abf917b75aa307b3fb6086addf428e2b5f5bd41 (diff)
InTransit: _epoch: turn undef into undefHEAD2.9.18main
-rw-r--r--lib/Travelynx/Model/InTransit.pm2
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 {