http://bugs.winehq.org/show_bug.cgi?id=10604
Summary: DateTime control parsing date format incorectly. Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: cman@cman.us
In Lithuanian locale (lth.nls) long date format defined this way:
LOCALE_SLONGDATE "yyyy 'm.' MMMM d 'd.'"
So datetime control should display it for example like this:
"2007 m. spalis 31 d."
But currently it is a mess:
"2007 27. spalis 31 31."
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #1 from CMan cman@cman.us 2007-11-29 15:09:07 --- Created an attachment (id=9401) --> (http://bugs.winehq.org/attachment.cgi?id=9401) Screenshot
This is a test application written in Delphi.
http://bugs.winehq.org/show_bug.cgi?id=10604
CMan cman@cman.us changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cman@cman.us
http://bugs.winehq.org/show_bug.cgi?id=10604
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2007-11-29 15:25:23 --- Please attach the source and binary for the test app, if you can.
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-29 16:12:33 --- How are you running that program (with what _exact_ command)? Attach output of 'locale' program.
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #4 from CMan cman@cman.us 2007-12-01 11:44:08 --- More information:
Operating system: Ubuntu 7.04 Wine version: 0.9.49 Wine setting: Default OS locale: Lithuanian Command: "wine datetimetest.exe"
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #5 from CMan cman@cman.us 2007-12-01 11:45:47 --- Created an attachment (id=9436) --> (http://bugs.winehq.org/attachment.cgi?id=9436) Test app
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #6 from CMan cman@cman.us 2007-12-01 11:47:51 --- Created an attachment (id=9437) --> (http://bugs.winehq.org/attachment.cgi?id=9437) Screenshot from Ubuntu
P.S. Previous screenshot was from ReactOS.
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-01 12:06:37 --- (In reply to comment #4)
More information:
Operating system: Ubuntu 7.04 Wine version: 0.9.49 Wine setting: Default OS locale: Lithuanian Command: "wine datetimetest.exe"
Read again what I asked:
Attach output of 'locale' program.
http://bugs.winehq.org/show_bug.cgi?id=10604
--- Comment #8 from CMan cman@cman.us 2007-12-01 13:53:56 --- Created an attachment (id=9438) --> (http://bugs.winehq.org/attachment.cgi?id=9438) locale.txt
http://bugs.winehq.org/show_bug.cgi?id=10604
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Version|CVS/GIT |0.9.49.
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2007-12-01 15:01:15 --- Confirming. Seems like parsing doesn't know what to do with single quoted strings in the format.
http://bugs.winehq.org/show_bug.cgi?id=10604
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #10 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2008-02-22 16:42:09 --- The patch http://www.winehq.org/pipermail/wine-patches/2008-February/050518.html seems to fix this.
http://bugs.winehq.org/show_bug.cgi?id=10604
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2008-02-26 10:29:24 --- The patch has been accepted into Wine Git and should be available in Wine releases starting from Wine 0.9.57. If you still have problems with it feel free to reopen the bug.
http://bugs.winehq.org/show_bug.cgi?id=10604
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2008-03-07 11:28:31 --- Closing bugs fixed in 0.9.57.