chiark / gitweb /
Output the date of first mention, not the current date
[irc.git] / commands.py
index 698bfdbe64c7161b83afba284a580203bfe2ff20..5f436c63fd2b41f95a62399a5893a294939517db 100755 (executable)
@@ -412,7 +412,7 @@ class UrlLog:
         n=time.localtime(time.time())
         s="%02d:%02d" % (self.localfirst.tm_hour,self.localfirst.tm_min)
         if n.tm_yday != self.localfirst.tm_yday:
-            s+=time.strftime(" on %d %B", n)
+            s+=time.strftime(" on %d %B", self.localfirst)
         return s
     def urltype(self):
         z=min(len(urlinfos)-1, self.count-1)