https://bugs.winehq.org/show_bug.cgi?id=54149
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |a662f00e6bdaec3c403be6997fd | |48fefbd7774ad
--- Comment #4 from François Gouget fgouget@codeweavers.com --- This got fixed by the commit below:
commit a662f00e6bdaec3c403be6997fd48fefbd7774ad Author: François Gouget fgouget@codeweavers.com AuthorDate: Thu Mar 2 16:00:46 2023 +0100
shlwapi/tests: Fix the date formatting tests when the locale does not match the code page.
In particular, February dates contain an e-acute in French, the representation of which depends on the code page being used, which in SHFormatDateTimeA() is CP_ACP.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54149
Also the test was patched so the failing case does not just happen in February, August and December:
commit 90dfa808bfddb8a7fd6ec19a2ce13953ea4a2aa0 Author: François Gouget fgouget@codeweavers.com AuthorDate: Thu Mar 2 16:03:28 2023 +0100
shlwapi/tests: Make sure to test the formatting of troublesome dates.
Test the current date to ensure broad coverage, and specifically test a February date because, in the French locale, it shows that SHFormatDateTimeA() uses the CP_ACP code page, not the locale's default one.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54149