[Bug 9490] New: LOCALE_IFIRSTDAYOFWEEK is 0 by default,
instead of current locale value
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Aug 27 10:10:05 CDT 2007
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 at winehq.org
ReportedBy: peter at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list