diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-29 09:35:43 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-29 09:35:43 +0000 |
commit | 69f0cdba5739b8e3444f25ec7d7fbbcec0161872 (patch) | |
tree | 07dcc22e18fafab1fd95644cb1a28cc13be597f1 | |
parent | 709c8605201e9bd86648fafe047ffb89262e9651 (diff) | |
download | wrongdoc-69f0cdba5739b8e3444f25ec7d7fbbcec0161872.tar.gz |
news_rdoc: fix date in LATEST file
We need to use a non-destructive update of tag[:time]
-rw-r--r-- | lib/wrongdoc/news_rdoc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrongdoc/news_rdoc.rb b/lib/wrongdoc/news_rdoc.rb index ee21d6b..6451db9 100644 --- a/lib/wrongdoc/news_rdoc.rb +++ b/lib/wrongdoc/news_rdoc.rb @@ -3,7 +3,7 @@ module Wrongdoc::NewsRdoc include Wrongdoc::History def puts_tag(fp, tag) - time = tag[:time].tr!('T', ' ').gsub!(/:\d\dZ/, ' UTC') + time = tag[:time].tr('T', ' ').gsub!(/:\d\dZ/, ' UTC') fp.puts "=== #{tag[:subject]} / #{time}" fp.puts "" |