diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/rss.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index d8497b97..ca20c5a6 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -760,13 +760,13 @@ class RSSFeedsPlugin < Plugin if opts.key?(:date) && opts[:date]
if item.respond_to?(:pubDate)
if item.pubDate.class <= Time
- date = item.pubDate.strftime("%Y/%m/%d %H.%M.%S")
+ date = item.pubDate.strftime("%Y/%m/%d %H:%M")
else
date = item.pubDate.to_s
end
elsif item.respond_to?(:date)
if item.date.class <= Time
- date = item.date.strftime("%Y/%m/%d %H.%M.%S")
+ date = item.date.strftime("%Y/%m/%d %H:%M")
else
date = item.date.to_s
end
|