diff --git a/lib/savon/soap.rb b/lib/savon/soap.rb index 035d169f..b1cbdb81 100644 --- a/lib/savon/soap.rb +++ b/lib/savon/soap.rb @@ -128,7 +128,7 @@ class SOAP ContentType = { 1 => "text/xml", 2 => "application/soap+xml" } # SOAP xs:dateTime format. - DateTimeFormat = "%Y-%m-%dT%H:%M:%SZ" + DateTimeFormat = "%Y-%m-%dT%H:%M:%S%Z" # SOAP xs:dateTime Regexp. DateTimeRegexp = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/