Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK 3.2 (Release)
-
None
-
Affected OS(s): All OS Platforms
Browser: Safari
Language Found: English
Description
Steps to reproduce:
1. Setup a Flex application to use a .NET webservice (or any webservice which uses fractional seconds).
2. Make a request to a web method which will return a DateTime object.
3. Using the resultformat="object" attribute of the webservice you should get a date time object back in the client.
Example Return String: 2008-11-11T09:28:26.303568-08:00
Actual Results:
When this string is unmarshalled, it is incorrect. The milliseconds in our example, '303568' are being appended using date.setUTCHours(hours, minutes, seconds, millis), which moves the time forward by over 5 minutes.
Expected Results:
The time should be accurately unmarhsalled.
Workaround (if any):
In the .NET Webservice, omit the milliseconds from the DateTime object before sending the response.