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@winehq.com ReportedBy: eric@jesover.net
_DayLightCompareDate don't use the hour in TIME_ZONEINFORMATION for the swith
Eric JESOVER eric@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. */ }