kernel32/tests: Fix the time tests when 'Automatically adjust clock for daylight saving changes' has been unset.

Francois Gouget fgouget at free.fr
Wed Feb 13 14:48:05 CST 2008


---

The tests were failing on my Windows XP system because it has 
'Automatically adjust clock for daylight saving changes' turned off.

In that case GetTimeZoneInformation() returns the same data 
for StandardDate and DaylightDate and ignores DaylightBias. So I 
modified must get_tz_bias() to take this into account so we don't have 
bad expectations in the test.

 dlls/kernel32/tests/time.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c11470057e848b50b2e449ff2f5ad8f4c4558e1a.diff
Type: text/x-patch
Size: 2665 bytes
Desc: 
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080213/3ab9b218/attachment.bin 


More information about the wine-patches mailing list