diff options
-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:33:02 2007 Tadayoshi Funaba <tadf@dotrb.org> + + * lib/date/format.rb: updated based on date2 4.0.1. + Wed Jan 3 11:36:51 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * io.c (ruby_dup): start GC on ENOMEM as well. diff --git a/lib/date/format.rb b/lib/date/format.rb index 0119982944..ca890cf8f5 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' @@ -1078,6 +1078,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 |