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 | 82875c077c6f242bb339386932da1b31f0355db8 (patch) | |
tree | 2cdc2281e8476474f4b1678e308f3c9fb7f3a528 /lib | |
parent | 09f210ffb6af1ea3b0a2bd52497978cd7f2354f8 (diff) | |
download | ruby-82875c077c6f242bb339386932da1b31f0355db8.tar.gz ruby-82875c077c6f242bb339386932da1b31f0355db8.tar.xz ruby-82875c077c6f242bb339386932da1b31f0355db8.zip |
* parse.y (method_call): remove (fn)(args) style lambda
invocation, add fn.(args) instead.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 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 |