From 18a2942afeea142e0881ed079660330d4da3c9e2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 13 Oct 2010 11:59:50 +0100 Subject: [PATCH 1/1] suppress seconds and minutes units --- xlog/bin/report | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xlog/bin/report b/xlog/bin/report index d250717..aef8458 100755 --- a/xlog/bin/report +++ b/xlog/bin/report @@ -22,7 +22,8 @@ sub processlog ($$) { chomp; @s= split /\t/; push @s, '' if @s<=6; - $s[0]= strftime "%Y-%m-%d %H:%M:%S %Z", localtime $s[0]; + $s[0]= strftime "%Y-%m-%d %H:%M %Z", localtime $s[0]; + $s[0] =~ s/(\d+\:\d)\d/${1}x/; &$processline(); $oddeven =~ y/oe/eo/; } -- 2.30.2