Author: miguel
Date: 2005-05-25 11:34:46 -0400 (Wed, 25 May 2005)
New Revision: 45003
Modified:
trunk/lb/lb.cs
Log:
Fix the date
Modified: trunk/lb/lb.cs
===================================================================
--- trunk/lb/lb.cs 2005-05-25 14:26:22 UTC (rev 45002)
+++ trunk/lb/lb.cs 2005-05-25 15:34:46 UTC (rev 45003)
@@ -129,8 +129,9 @@
//
if (Date > SwitchDate){
FileInfo fi = new FileInfo (file);
- DateTime access_date = fi.LastWriteTime;
-
+ DateTime access_date = fi.LastWriteTimeUtc;
+
+ Console.WriteLine ("Hour: {0}", access_date.Hour);
Date = new DateTime (year, month, day,
access_date.Hour, access_date.Minute, 0);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches