[Bug 9490] LOCALE_IFIRSTDAYOFWEEK is 0 by default, instead of current locale value

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 28 04:14:58 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9490


Peter Åstrand <peter at cendio.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |UNCONFIRMED
         Resolution|INVALID                     |




--- Comment #4 from Peter Åstrand <peter at cendio.se>  2007-08-28 04:14:58 ---
The original report might have been a little confusing, sorry about that. I'm
not saying that GetLocaleInfo is incorrect; I'm saying that the value of
iFirstDayOfWeek in the registry should be created automatically with a default
value fetched from the current locale, just as sLanguage, sCountry, iCurrency
and many other parameters are. Example: If I delete my .wine and runs Wine with
LANG=sv_SE, I get this in user.reg:

"iCalendarType"="1"
"iCountry"="46"
"iCurrDigits"="2"
"iCurrency"="3"
"iDate"="2"
"iDigits"="2"
"iLDate"="1"
"iLZero"="1"
"iMeasure"="0"
"iNegCurr"="8"
"iTime"="1"
"iTimePrefix"="0"
"iTLZero"="1"
"LC_CTYPE"="0000041d"
"LC_MEASUREMENT"="0000041d"
"LC_MONETARY"="0000041d"
"LC_NUMERIC"="0000041d"
"LC_TELEPHONE"="0000041d"
"LC_TIME"="0000041d"
"Locale"="0000041d"
"Numshape"="1"
"s1159"=""
"s2359"=""
"sCountry"="Sweden"
"sCurrency"="kr"
"sDate"="-"
"sDecimal"=","
"sLanguage"="Swedish"
"sList"=";"
"sLongDate"="'den 'd MMMM yyyy"
"sNativeDigits"="0123456789"
"sShortDate"="yyyy-MM-dd"
"sThousand"="\xa0"
"sTime"=":"

If I do the same with LANG=C, I get:

[Control Panel\\International] 1188292115
"iCalendarType"="1"
"iCountry"="1"
"iCurrDigits"="2"
"iCurrency"="0"
"iDate"="0"
"iDigits"="2"
"iLDate"="0"
"iLZero"="1"
"iMeasure"="1"
"iNegCurr"="0"
"iTime"="0"
"iTimePrefix"="0"
"iTLZero"="0"
"LC_CTYPE"="00000409"
"LC_MEASUREMENT"="00000409"
"LC_MONETARY"="00000409"
"LC_NUMERIC"="00000409"
"LC_TELEPHONE"="00000409"
"LC_TIME"="00000409"
"Locale"="00000409"
"Numshape"="1"
"s1159"="AM"
"s2359"="PM"
"sCountry"="United States"
"sCurrency"="$"
"sDate"="/"
"sDecimal"="."
"sLanguage"="English (United States)"
"sList"=","
"sLongDate"="dddd, MMMM dd, yyyy"
"sNativeDigits"="0123456789"
"sShortDate"="M/d/yyyy"
"sThousand"=","
"sTime"=":"

So clearly, the principle is that the default values are fetched from the
current system locale, and surely it makes sense to include 
iFirstDayOfWeek as well? If this aint a bug, it's at least a feature request. 


-- 
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