diff options
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs b/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs index 3b188b7cfbe..4d60b55f5ce 100644 --- a/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs +++ b/mcs/class/System.XML/Test/System.Xml/XmlConvertTests.cs @@ -966,7 +966,7 @@ namespace MonoTests.System.Xml public void XmlDateTimeSerializationModeUnspecified () { Assert.AreEqual (27, XmlConvert.ToString (new DateTime (DateTime.MaxValue.Ticks, DateTimeKind.Utc), XmlDateTimeSerializationMode.Unspecified).Length, "#1"); - DateTime dt1 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000+02:00", XmlDateTimeSerializationMode.Unspecified); + DateTime dt1 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000-01:00", XmlDateTimeSerializationMode.Unspecified); DateTime dt2 = XmlConvert.ToDateTime ("0001-02-03T10:20:30.0000", XmlDateTimeSerializationMode.Unspecified); Assert.AreEqual (false, dt1 == dt2, "#2"); XmlConvert.ToDateTime ("2006-05-30T09:48:32.0Z", XmlDateTimeSerializationMode.Unspecified); |