[Mono-bugs] [Bug 74266][Nor] Changed - pb in Stat with Daylight SAving Time Zones
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 31 Mar 2005 06:29:29 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by fabrice@bellet.info.
http://bugzilla.ximian.com/show_bug.cgi?id=74266
--- shadow/74266 2005-03-31 06:28:17.000000000 -0500
+++ shadow/74266.tmp.16268 2005-03-31 06:29:29.000000000 -0500
@@ -22,6 +22,11 @@
(CEST, aka GMT+1 in winter, GMT+2 in summer), currently, mtime on recent
files reports DateTime values that are one hour earlier than expected. The
problem seems to caused by the fact that UnixEpoch is converted to
Localtime, but no Localtime conversion is applied in UnixtoDateTime
computation. In this case, the .ToLocalTime() conversion applies to the
Epoch (GMT+1) and not to current date (GMT+2). So there is a 1 hour offset.
+
+------- Additional Comments From fabrice@bellet.info 2005-03-31 06:29 -------
+Created an attachment (id=14795)
+proposed patch
+