]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
note: added date to timestamps
authorJay Thomas <degradinglight@gmail.com>
Sun, 28 Apr 2013 02:35:20 +0000 (22:35 -0400)
committerJay Thomas <degradinglight@gmail.com>
Sun, 28 Apr 2013 02:35:20 +0000 (22:35 -0400)
data/rbot/plugins/note.rb

index 25d122a13b56a71e2abeb02c6c1e232f43f7fcd1..8dfae36148f3f642e10b938f2d8ab6f6203ee038 100644 (file)
@@ -44,7 +44,7 @@ class NotePlugin < Plugin
       pub = []
       priv = []
       @registry[nick].each do |n|
-        s = "[#{n.time.strftime('%H:%M')}] <#{n.from}> #{n.text}"
+        s = "[#{n.time.strftime('%b-%e %H:%M')}] <#{n.from}> #{n.text}"
         unless n.private or @bot.config['note.private_message']
           pub << s
         else