chiark
/
gitweb
/
~matthewv
/
irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07803e3
)
0-pad times (so 13:03 rather than 13:3)
author
Matthew Vernon
<matthewv@chiark.greenend.org.uk>
Mon, 10 Dec 2018 16:30:35 +0000
(16:30 +0000)
committer
Matthew Vernon
<matthewv@chiark.greenend.org.uk>
Mon, 10 Dec 2018 16:30:35 +0000
(16:30 +0000)
commands.py
patch
|
blob
|
history
diff --git
a/commands.py
b/commands.py
index 3442dce842dff362274246b8a877bf0a56851128..2864bb9de6ae05b1a9c867738e79fafedbc352f8 100755
(executable)
--- a/
commands.py
+++ b/
commands.py
@@
-401,7
+401,7
@@
class UrlLog:
return max(self.lastseen,self.lastasked)
def firstmen(self):
n=time.localtime(time.time())
- s="%
d:%
d" % (self.localfirst.tm_hour,self.localfirst.tm_min)
+ s="%
02d:%02
d" % (self.localfirst.tm_hour,self.localfirst.tm_min)
if n.tm_yday != self.localfirst.tm_yday:
s+=time.strftime(" on %d %B", n)
return s