From 0d7db1134621991016be58af3ec44c910abc7958 Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Mon, 16 Feb 2009 01:05:35 +0200 Subject: last.fm plugin: removed year from event dates --- data/rbot/plugins/lastfm.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 30012597..a9a0a582 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -37,9 +37,9 @@ class ::LastFmEvent def compact_display if @attendance - return "%s %s @ %s (%s attending) %s" % [@date.strftime("%a %b, %d %Y"), @artist_string, @location, @attendance, @url] + return "%s %s @ %s (%s attending) %s" % [@date.strftime("%a, %b %d"), @artist_string, @location, @attendance, @url] end - return "%s %s @ %s %s" % [@date.strftime("%a %b, %d %Y"), @artist_string, @location, @url] + return "%s %s @ %s %s" % [@date.strftime("%a, %b %d"), @artist_string, @location, @url] end alias :to_s :compact_display -- cgit v1.2.3