https://bugs.winehq.org/show_bug.cgi?id=57440
Bug ID: 57440 Summary: date format bug in wine env creation Product: Wine Version: 9.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs@winehq.org Reporter: winebugs@evolution-hosting.eu Distribution: ---
Name : wine-core Version : 9.15 Release : 1.fc40 Architecture: x86_64 Install Date: Do 14 Nov 2024 13:19:06 CET
When a wine env is created, the REG value of:
HKEY_CURRENT_USER -> Control Panel -> International -> sShortDate
is set to "d.M.yyyy", which is wrong and confuses some apps.
It needs to be "dd.MM.yyyy" for Germany ( CC=DE ).
Please inform me, if this a true Wine issue, or if i.e. LUTRIS gives the wrong date format to the creationprocess. The ENV, with that issue, has been created by Lutris, which is way easier than doing it manually ;)
https://bugs.winehq.org/show_bug.cgi?id=57440
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dark.shadow4@web.de Ever confirmed|0 |1
--- Comment #1 from Fabian Maurer dark.shadow4@web.de ---
Please inform me, if this a true Wine issue, or if i.e. LUTRIS gives the wrong date format to the creationprocess. The ENV, with that issue, has been created by Lutris, which is way easier than doing it manually ;)
Shouldn't you do that *before* you report this as a bug...? It's an actual issue though.
https://bugs.winehq.org/show_bug.cgi?id=57440
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Created attachment 77438 --> https://bugs.winehq.org/attachment.cgi?id=77438 test program
Attaching a small test program, should print "dd.MM.yyyy", but on Wine it prints "d.M.yyyy"
https://bugs.winehq.org/show_bug.cgi?id=57440
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Component|wineserver |-unknown
https://bugs.winehq.org/show_bug.cgi?id=57440
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Not too good with perl, but this seems to be the part that fills it:
my @sshortdate = loc_query( $loc, "/ldml/dates/calendars/calendar[@type='gregorian']/dateTimeFormats/availableFormats/dateFormatItem[@id='yMd' and not(@alt)]" ); push @sshortdate, loc_query( $loc, "/ldml/dates/calendars/calendar[@type='gregorian']/dateTimeFormats/availableFormats/dateFormatItem[@id='yMMMd' and not(@alt)]" );
Not sure why it doesn't use
<dateFormatLength type="short"> <dateFormat> <pattern>dd.MM.yy</pattern> </dateFormat> </dateFormatLength>