[Mono-bugs] [Bug 352210] Serialization and deserialization of datetime to and from xml, "shifts" the time with the timezone

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 27 04:03:25 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=352210

User roeie at mainsoft.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=352210#c18


Roei Erez <roeie at mainsoft.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |roeie at mainsoft.com




--- Comment #18 from Roei Erez <roeie at mainsoft.com>  2008-02-27 02:03:25 MST ---
James,
We have worked on a patch for DateTime that is based on the first patch that
you have attached.
We have revised it to handle also the following:
1. DateTimeStyles.RoundTripKind formatting
2. Handle illegal style combinations.
3. fix some additional bugs that are reflect in the added test cases

These test cases fails with the current DateTime implementation, and this patch
fixes them.
The regression in System.Xml regarding the roundtrip formatting is not due to a
bug in System.DateTime, but due to a bug in XmlConvert itself that should use
the DateTimeStyles.RoundTripKind when invoking ParseExact method.
Also attached is a patch for this bug.
Please review this patch, and make a suggestion for how to continue.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list