[Bug 1855] New: TzSpecificLocalTimeToSystemTime SystemTimeToTzSpecificLocalTime don't use hour for daylight saving

Wine Bugs wine-bugs at winehq.com
Thu Nov 27 08:19:01 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1855

           Summary: TzSpecificLocalTimeToSystemTime
                    SystemTimeToTzSpecificLocalTime don't use hour for
                    daylight saving
           Product: Wine
           Version: unspecified
          Platform: All
        OS/Version: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P1
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: eric at jesover.net


_DayLightCompareDate don't use the hour in TIME_ZONEINFORMATION for the swith

Eric JESOVER
eric at jesover.net

--- time.c	Wed Nov 26 19:24:13 2003
+++ timenew.c	Wed Nov 26 19:21:36 2003
@@ -187,7 +187,8 @@
 /***********************************************************************
  *  _DayLightCompareDate
  *
- *  Compares two dates without looking at the year
+ *  Compares two dates without looking at the year must look at time
+ *  for daylight saving not changing at 00:00
  *
  * RETURNS
  *
@@ -294,6 +295,9 @@
 
     if (date->wDay > limit_day)
         return 1;
+
+    if( date->wHour < compareDate->wHour )
+        return -1;
 
     return 0;   /* date is equal to the date limit. */
 }

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list