[Bug 57440] New: date format bug in wine env creation
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(a)winehq.org Reporter: winebugs(a)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 ;) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57440 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dark.shadow4(a)web.de Ever confirmed|0 |1 --- Comment #1 from Fabian Maurer <dark.shadow4(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57440 --- Comment #2 from Fabian Maurer <dark.shadow4(a)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" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57440 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Component|wineserver |-unknown -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=57440 --- Comment #3 from Fabian Maurer <dark.shadow4(a)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>
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla