From d993d350778e8aed65fd34c201b2b363c0f99bb8 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 20 Jun 2006 23:43:43 +0000 Subject: * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date and Time processing. [ruby-core:08033] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 11 ++++++++--- lib/xmlrpc/create.rb | 7 +------ version.h | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index c8ae919d5..600c1fe64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 21 08:39:54 2006 Yukihiro Matsumoto + + * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date + and Time processing. [ruby-core:08033] + Wed Jun 21 01:40:25 2006 Nobuyoshi Nakada * parse.y (yylex, reswords): modifier token is no longer returned in @@ -95,10 +100,10 @@ Tue Jun 20 01:06:57 2006 Kouhei Sutou Mon Jun 19 23:40:59 2006 NARUSE, Yui - * ext/nkf/lib/kconv.rb: remove default -m0 and fix document. + * ext/nkf/lib/kconv.rb: remove default -m0 and fix document. - * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}: - imported nkf 2.0.7. + * ext/nkf/nkf-8/{nkf.c, config.h, utf8tbl.c, utf8tbl.h}: + imported nkf 2.0.7. Mon Jun 19 22:31:59 2006 Kouhei Sutou diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb index 0bfa4ab55..9150e2f56 100644 --- a/lib/xmlrpc/create.rb +++ b/lib/xmlrpc/create.rb @@ -241,12 +241,7 @@ module XMLRPC @writer.ele("data", *a) ) - when Date - t = param - @writer.tag("dateTime.iso8601", - format("%.4d%02d%02dT00:00:00", t.year, t.month, t.day)) - - when Time + when Time, Date @writer.tag("dateTime.iso8601", param.strftime("%Y%m%dT%H:%M:%S")) when XMLRPC::DateTime diff --git a/version.h b/version.h index 8aa078add..0fab04e91 100644 --- a/version.h +++ b/version.h @@ -1,11 +1,11 @@ -#define RUBY_VERSION "1.8.4" +#define RUBY_VERSION "1.8.5" #define RUBY_RELEASE_DATE "2006-06-21" -#define RUBY_VERSION_CODE 184 +#define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20060621 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 -#define RUBY_VERSION_TEENY 4 +#define RUBY_VERSION_TEENY 5 #define RUBY_RELEASE_YEAR 2006 #define RUBY_RELEASE_MONTH 6 #define RUBY_RELEASE_DAY 21 -- cgit