chiark
/
gitweb
/
~webstump
/
modbot-ulm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e6dc8d
)
suppress seconds and minutes units
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 13 Oct 2010 10:59:50 +0000
(11:59 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 13 Oct 2010 10:59:54 +0000
(11:59 +0100)
xlog/bin/report
patch
|
blob
|
history
diff --git
a/xlog/bin/report
b/xlog/bin/report
index d25071787b7f4be2d53ff78865d6518fb05e5973..aef8458c91932a5d164a0d25ca146a7823fa989d 100755
(executable)
--- 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/;
}