http://bugs.winehq.org/show_bug.cgi?id=9490
Summary: LOCALE_IFIRSTDAYOFWEEK is 0 by default, instead of current locale value Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: peter@cendio.se
Unless the user has manually tweaked the "iFirstDayOfWeek" registry key, GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_IFIRSTDAYOFWEEK, ...) always returns zero, which means Sunday, even though the locale on the system indicates otherwise. The effect is that month calendar controls, for example, starts the week with sunday rather than, say, monday, which is the ISO standard and common in many countries.
The current locale standard can be fetched with two nl_langinfo calls. I don't really understand enough of kernel32/locale.c to make the necessary modifications, though.