[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
Tue Jan 8 02:17:23 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=352210
User atsushi at ximian.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=352210#c1
Atsushi Enomoto <atsushi at ximian.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |atsushi at ximian.com
--- Comment #1 from Atsushi Enomoto <atsushi at ximian.com> 2008-01-08 00:17:22 MST ---
The cause of the issue is summarized within this one-liner example:
Console.WriteLine (DateTime.ParseExact ("2007-06-15T10:30:10.5",
"yyyy-MM-ddTHH:mm:ss.f", null).Kind);
.. and DateTime.ParseExact() is used in XmlConvert.ToDateTime() :
Console.WriteLine (XmlConvert.ToDateTime ("2007-06-15T10:30:10.5",
XmlDateTimeSerializationMode.RoundtripKind).Kind);
.. and it is used in XmlSerializer.
--
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