What steps will reproduce the problem?
1. Create any WSDL that defines object with field of dateTime type and
generate code from it.
2. Create SOAP object and assign some NSDate to its field. Make sure that
your local timezone time is not equal to UTC.
3. Try sending the request. See that date is serialized as UTC datetime
(string has "Z" at the end), however, it contains the local datetime, not
UTC.
What is the expected output?
Date should be serialized as UTC (or provide the correct zone information).
What do you see instead?
Local date is serialized but marked as UTC.
What version of the product are you using? On what operating system?
Revision 151 from public SVN. Mac OS X 10.6. Generated for iPhone OS 3.x.
Please provide any additional information below.
Attached patch that solves the problem.
Original issue reported on code.google.com by wicha...@gmail.com on 23 Feb 2010 at 7:59
Original issue reported on code.google.com by
wicha...@gmail.com
on 23 Feb 2010 at 7:59Attachments: