http://bugs.winehq.org/show_bug.cgi?id=16344 Summary: cmd.exe builtin time prints wrong message : current date instead of current time Product: Wine Version: 1.1.9 Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: le_afo(a)gmx.net Created an attachment (id=17657) --> (http://bugs.winehq.org/attachment.cgi?id=17657) patch for wine-1.1.9/programs/cmd/builtins.c cmd.exe builtin time command prints 'Current Date is' instead of 'Current Time is' coz wine-1.1.9/programs/cmd/builtins.c : WCMD_setshow_time uses LoadMessage( WCMD_CURRENTDATE, ...) instead of WCMD_CURRENTTIME(WCMD_CURRENTTIME, ... ) the following patch will fix it: --- wine-1.1.9/programs/cmd/builtins.c.orig 2008-11-21 17:20:28.000000000 +0 100 +++ wine-1.1.9/programs/cmd/builtins.c 2008-12-05 14:28:51.000000000 +0100 @@ -2135,7 +2135,7 @@ GetLocalTime(&st); if (GetTimeFormat (LOCALE_USER_DEFAULT, 0, &st, NULL, curtime, sizeof(curtime)/sizeof(WCHAR))) { - WCMD_output (WCMD_LoadMessage(WCMD_CURRENTDATE), curtime); + WCMD_output (WCMD_LoadMessage(WCMD_CURRENTTIME), curtime); if (strstrW (quals, parmT) == NULL) { WCMD_output (WCMD_LoadMessage(WCMD_NEWTIME)); WCMD_ReadFile (GetStdHandle(STD_INPUT_HANDLE), buffer, -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.