summaryrefslogtreecommitdiff
path: root/lib/xmlrpc/create.rb
diff options
context:
space:
mode:
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 9150e2f56fd..b5c94254a48 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