https://bugs.winehq.org/show_bug.cgi?id=52002
Bug ID: 52002 Summary: comctl32:datetime fails in the Arabic (Egypt) locale Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: comdlg32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
comctl32:datetime fails in the Arabic (Egypt) locale:
datetime.c:212: Test failed: String mismatch ("12 hh" vs "hh 12") datetime.c:798: Test failed: Expected 08/11/2021, got 2021/11/08
https://test.winehq.org/data/patterns.html#comctl32:datetime
This failure happens as soon as one sets UserDefaultLCID to 0xc01 (Settings -> Time & Language -> Regional format -> Arabic (Egypt)).
Note: the reason it worked up to 2021-10-21 is because before then UserDefaultLCID was incorrectly set to English in the w10pro64-ar VM. Then I upgraded the VM to Windows 21H1 and in the process I recreated the Arabic snapshot which got the intended locale this time. The current settings are:
SystemDefaultLCID 0c01 UserDefaultLCID 0c01 ThreadLocale 0c01 SystemPreferredUILanguages 0409 UserDefaultUILanguage 0401 ThreadUILanguage 0401