diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-04-09 19:15:53 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-04-09 19:15:53 +0000 |
commit | d24ca5a5c8663dfcc62efe36b611f2d0491d52ed (patch) | |
tree | ea5a9fc3c1968e86dd13b3d7acac39ed715c07ab /data/rbot/plugins | |
parent | bd1fae001de8da52f3949c06e1534a233c8073d0 (diff) |
* (plugins/rss) use "%H:%M" for time format
Diffstat (limited to 'data/rbot/plugins')
-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
|