mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
700b778cbb
commit
4d09e8cd19
2 changed files with 6 additions and 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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue