From 25e6485b736b2b14509738169eedee431dc86be4 Mon Sep 17 00:00:00 2001 From: Jay Thomas Date: Sat, 27 Apr 2013 22:35:20 -0400 Subject: note: added date to timestamps --- data/rbot/plugins/note.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/note.rb b/data/rbot/plugins/note.rb index 25d122a1..8dfae361 100644 --- a/data/rbot/plugins/note.rb +++ b/data/rbot/plugins/note.rb @@ -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 -- cgit v1.2.3