https://bugs.winehq.org/show_bug.cgi?id=54683
Bug ID: 54683 Summary: shlwapi:ordinal - test_SHFormatDateTimeA() fails due to daylight saving time on Windows Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: shlwapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
shlwapi:ordinal - test_SHFormatDateTimeA() fails due to daylight saving time on Windows:
ordinal.c:1734: Test failed: expected (12:00 PM), got (11:00 AM) ordinal.c:1741: Test failed: expected (12:00:00 PM), got (11:00:00 AM) ordinal.c:1749: Test failed: expected (12:00:00 PM), got (11:00:00 AM) ordinal.c:1779: Test failed: expected (12:00 PM), got (11:00 AM) for time part ordinal.c:1793: Test failed: expected (12:00:00 PM), got (11:00:00 AM) for time part ordinal.c:1811: Test failed: expected (2/14/2023 12:00 PM), got (2/14/2023 11:00 AM) ordinal.c:1822: Test failed: expected (2/14/2023 12:00:00 PM), got (2/14/2023 11:00:00 AM)
See https://test.winehq.org/data/patterns.html#shlwapi:ordinal
The AM/PM translations can change the failure messages slightly but it's always the same issue, on all Windows versions... except w10pro64v2004!
This set of failures started on 2023-03-13 which, together with the 1 hour offset, clearly corresponds to the switch from CST to CDT (there was no WineTest run on Sunday).