http://bugs.winehq.org/show_bug.cgi?id=19380
Summary: SysDateTimePick32 - wDayOfWeek not generated automatically after DTM_SETSYSTEMTIME Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: martinez.pr0team@gmail.com
Format of the date in SysDateTimePick32 set with: SendMessage(hDate,DTM_SETFORMAT,0,(LPARAM)"dddd' 'd' 'MMMM' 'yyy");
To change actual time of the control, DTM_SETFORMAT message must be sent with wYear, wMonth and wDay fields of the SYSTEMTIME structure set.
Microsoft Windows automatically calculates proper day of week, ignoring the wDayOfWeek field. Wine does not, and the day of week displayed in control might be wrong (always Sunday if not set).
http://bugs.winehq.org/show_bug.cgi?id=19380
martinez.pr0team@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.26
http://bugs.winehq.org/show_bug.cgi?id=19380
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2009-09-02 01:33:51 --- Could you start with a test case in wine test suite format?
http://bugs.winehq.org/show_bug.cgi?id=19380
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2009-09-30 11:55:03 --- This is a valid bug, parameter check in DTM_SETSYSTEMTIME is broken currently, wDayOfWeek is definitely not calculated.
P.S. Disregard my comment 1 I'll try to find time to solve this.
http://bugs.winehq.org/show_bug.cgi?id=19380
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2009-10-01 09:59:39 --- Fixed by commit:
http://source.winehq.org/git/wine.git/?a=commit;h=9557376138f3b2508d4b523314...
Thanks for the report, please feel free to open new ones.
http://bugs.winehq.org/show_bug.cgi?id=19380
--- Comment #4 from martinez.pr0team@gmail.com 2009-10-01 10:33:15 --- Glad to hear it's fixed. Good job!
http://bugs.winehq.org/show_bug.cgi?id=19380
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2009-10-09 11:14:19 --- Closing bugs fixed in 1.1.31.
http://bugs.winehq.org/show_bug.cgi?id=19380
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9557376138f3b2508d4b5233141 | |82d7dafd4fa85