summaryrefslogtreecommitdiff
path: root/lib/date/format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/date/format.rb')
-rw-r--r--lib/date/format.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/date/format.rb b/lib/date/format.rb
index 01199829449..ca890cf8f5a 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