Unverified Commit f79d7c1e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

InTransit: _epoch: turn undef into undef

parent 6abf917b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {