Commit 25d378be authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 4ab131e4
......@@ -765,7 +765,7 @@ sub TBDateStringLocal($)
if (!defined($date) || "$date" eq "");
if ($date !~ /^\d+$/) {
$date = timelocal(strptime($date));
$date = str2time($date);
}
return POSIX::strftime("20%y-%m-%d %H:%M:%S", localtime($date));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment