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