summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 23:43:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 23:43:43 +0000
commit2d50ae8fb1c4a2dc36537aba848426702d0f9f0b (patch)
treebf01175ce4b7b012b3803531298c0a963c91cebf
parentd04b597cd1a72d67b476113f3852cd08a3aaa3b8 (diff)
* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date
and Time processing. [ruby-core:08033] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog11
-rw-r--r--lib/xmlrpc/create.rb7
-rw-r--r--version.h6
3 files changed, 12 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index c8ae919d5c..600c1fe64f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 21 08:39:54 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): merge Date
+ and Time processing. [ruby-core:08033]
+
Wed Jun 21 01:40:25 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (yylex, reswords): modifier token is no longer returned in
@@ -95,10 +100,10 @@ Tue Jun 20 01:06:57 2006 Kouhei Sutou <kou@cozmixng.org>
Mon Jun 19 23:40:59 2006 NARUSE, Yui <naruse@ruby-lang.org>
- * 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 <kou@cozmixng.org>
diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb
index 0bfa4ab551..9150e2f56f 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 8aa078add3..0fab04e918 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