diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 05:13:48 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-21 05:13:48 +0000 |
commit | 7b5d9d70860a5441b8084c255b2fc493418f0baf (patch) | |
tree | 2cdc2281e8476474f4b1678e308f3c9fb7f3a528 /lib/xmlrpc | |
parent | 1b7465e893131c8a8b27078704223ecfb2311119 (diff) |
* parse.y (method_call): remove (fn)(args) style lambda
invocation, add fn.(args) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r-- | lib/xmlrpc/create.rb | 7 |
1 files changed, 1 insertions, 6 deletions
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 |