diff options
Diffstat (limited to 'probe-mirmon')
-rwxr-xr-x | probe-mirmon | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/probe-mirmon b/probe-mirmon index b0c3413..ff73776 100755 --- a/probe-mirmon +++ b/probe-mirmon @@ -112,6 +112,8 @@ sub munge_date { if($timestamp >= $year2020 && $timestamp <= $year2038) { return $timestamp; } else { - return Date::Parse::str2time($timestr); + my $timestamp = Date::Parse::str2time($timestr); + return $timestamp if defined($timestamp); } + return -1; } |