summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-02-16 01:05:35 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-16 20:50:11 +0100
commit0d7db1134621991016be58af3ec44c910abc7958 (patch)
tree503218821429e6ad198d3801c2c2d3f496345f38 /data/rbot/plugins
parent5d00c76c4d78fafc9e719103e2e046c9bb51fab9 (diff)
last.fm plugin: removed year from event dates
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/lastfm.rb4
1 files changed, 2 insertions, 2 deletions
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