From 45660f4384ed66fc1352c213ca7edc15f38e797f Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Sun, 9 Jan 2005 17:07:57 +0000 Subject: [PATCH] 2005-01-09 Sebastien Pouliot * DateTime.cs: Reverted last patch for utc as it broke all certificate handling and another unit test in DateTime. svn path=/trunk/mcs/; revision=38566 --- mcs/class/corlib/System/ChangeLog | 5 +++++ mcs/class/corlib/System/DateTime.cs | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog index 96cfa6192e4..a9fe853c45e 100644 --- a/mcs/class/corlib/System/ChangeLog +++ b/mcs/class/corlib/System/ChangeLog @@ -1,3 +1,8 @@ +2005-01-09 Sebastien Pouliot + + * DateTime.cs: Reverted last patch for utc as it broke all certificate + handling and another unit test in DateTime. + 2005-01-09 Miguel de Icaza * DateTime.cs: Return immediately if useutc is set to true, there diff --git a/mcs/class/corlib/System/DateTime.cs b/mcs/class/corlib/System/DateTime.cs index 4aab3c22bb7..61b1cae4f07 100644 --- a/mcs/class/corlib/System/DateTime.cs +++ b/mcs/class/corlib/System/DateTime.cs @@ -1298,8 +1298,7 @@ namespace System TimeSpan utcoffset; if (useutc) - return true; - + utcoffset = new TimeSpan (0, 0, 0); else if (tzsign == -1) { TimeZone tz = TimeZone.CurrentTimeZone; utcoffset = tz.GetUtcOffset (result); -- 2.25.1