summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-08 11:23:38 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-08 11:23:38 +0000
commit6bc8bcbc7f1810dc2e6169e638b1268c5555ec87 (patch)
treedaee4b9b03cbd4077b33311cf9c87f10e2546e0f
parent721eb816c94b1ea13cf336eb0f286b756a321623 (diff)
downloadruby-6bc8bcbc7f1810dc2e6169e638b1268c5555ec87.tar.gz
* lib/date/format.rb: reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/date/format.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e41653683c..a04e1b786e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue May 8 20:23:07 2007 Tadayoshi Funaba <tadf@dotrb.org>
+
+ * lib/date/format.rb: reverted.
+
Tue May 8 19:32:18 2007 Keiju Ishitsuka <keiju@ruby-lang.org>
* lib/rational.rb: fix high-precision Rationals cannot be
diff --git a/lib/date/format.rb b/lib/date/format.rb
index 723aa6713a..e0edb45720 100644
--- a/lib/date/format.rb
+++ b/lib/date/format.rb
@@ -118,7 +118,7 @@ class Date
end
def method_missing(t, *args, &block)
- t = "#{t}"
+ t = t.to_s
set = t.chomp!('=')
t = t.intern
if set