diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-07 00:32:57 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-07 00:32:57 +0000 |
commit | 666ffdcbcadc3865138388002e20a05bc956bd34 (patch) | |
tree | f7db9130da23880f333cfbfc4d6ff1c52b7bca26 | |
parent | b8ce3d6167f874d27056df3933736fa4e5dc2c7d (diff) | |
download | ruby-666ffdcbcadc3865138388002e20a05bc956bd34.tar.gz ruby-666ffdcbcadc3865138388002e20a05bc956bd34.tar.xz ruby-666ffdcbcadc3865138388002e20a05bc956bd34.zip |
updated based on date2 4.0.1.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/date/format.rb | 6 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Sun Jan 7 09:31:18 2007 Tadayoshi Funaba <tadf@dotrb.org> + + * lib/date/format.rb: updated based on date2 4.0.1. + Sat Jan 6 18:46:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * io.c (rb_io_getline_fast, rb_io_getline): increase lineno diff --git a/lib/date/format.rb b/lib/date/format.rb index bf32ce247..6cada0f69 100644 --- a/lib/date/format.rb +++ b/lib/date/format.rb @@ -1,5 +1,5 @@ -# format.rb: Written by Tadayoshi Funaba 1999-2006 -# $Id: format.rb,v 2.29 2006-12-30 21:43:41+09 tadf Exp $ +# format.rb: Written by Tadayoshi Funaba 1999-2007 +# $Id: format.rb,v 2.30 2007-01-07 09:16:24+09 tadf Exp $ require 'rational' @@ -1054,6 +1054,8 @@ class DateTime < Date super() + iso8601_timediv(n) end + def rfc3339(n=0) iso8601(n) end + def jisx0301(n=0) super() + iso8601_timediv(n) end |