summaryrefslogtreecommitdiff
path: root/lib/xmlrpc/create.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-23 03:42:01 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-23 03:42:01 +0000
commite17884c45cafd929008614fe17d6650921268cdd (patch)
treee3aa100d07ed5a9952bde6fe94885f6a9619e952 /lib/xmlrpc/create.rb
parent67c94cae969538b2d442fcf8b37663e8aa141686 (diff)
* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the
Content-Length parameter optional for responses in xmlrpc/client.rb; suggested by Daniel Berger <Daniel.Berger@qwest.com> and approved by the maintainer. * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime support to xmlrpc; approved by the maintainer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc/create.rb')
-rw-r--r--lib/xmlrpc/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/create.rb b/lib/xmlrpc/create.rb
index 9a3df0d832..3c2bbd24e6 100644
--- a/lib/xmlrpc/create.rb
+++ b/lib/xmlrpc/create.rb
@@ -241,7 +241,7 @@ module XMLRPC
@writer.ele("data", *a)
)
- when Time, Date
+ when Time, Date, ::DateTime
@writer.tag("dateTime.iso8601", param.strftime("%Y%m%dT%H:%M:%S"))
when XMLRPC::DateTime