diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-25 20:29:55 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-25 20:29:55 +0000 |
commit | 4d09e8cd199129b372eeb56a84b84e1348537ec6 (patch) | |
tree | 8a02cb04440e5f515a72a70fc53bfff1f10e6cb1 | |
parent | 700b778cbb6b718069504cdfe2240c9c01176835 (diff) |
* ext/date/lib/date/format.rb (DateTime#strftime): removed because
date_core defines it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/date/lib/date/format.rb | 4 |
2 files changed, 6 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Sat Mar 26 05:27:34 2011 NARUSE, Yui <naruse@ruby-lang.org> + + * ext/date/lib/date/format.rb (DateTime#strftime): removed because + date_core defines it. + Fri Mar 25 21:59:45 2011 Tadayoshi Funaba <tadf@dotrb.org> * ext/date/date_core.c: should not force cast with macros. @@ -20,7 +25,7 @@ Fri Mar 25 19:39:40 2011 Ben Walton <bwalton@artsci.utoronto.ca> Use LOG_PID instead of LOG_PERROR in Syslog.open test - LOG_PERROR isn't a POSIX option for syslog, so it fails on platforms + LOG_PERROR isn't a POSIX option for syslog, so it fails on platforms that don't define it. Solaris 9 and 10 are examples of this. Use LOG_PID instead. diff --git a/ext/date/lib/date/format.rb b/ext/date/lib/date/format.rb index 56dfdcfabe..d38525b7e3 100644 --- a/ext/date/lib/date/format.rb +++ b/ext/date/lib/date/format.rb @@ -1073,10 +1073,6 @@ end class DateTime < Date - def strftime(fmt='%FT%T%:z') - super(fmt) - end - def self._strptime(str, fmt='%FT%T%z') super(str, fmt) end |