Author: zguo
Date: Sat Dec 13 05:07:58 2014
New Revision: 65623
URL:
http://svn.reactos.org/svn/reactos?rev=65623&view=rev
Log:
[EVENTVWR]
Display seconds for event time in event viewer. Patch by Lee Schroeder.
CORE-8612
Modified:
trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c
Modified: trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/eventvwr/eventvwr.c [iso-8859-1] Sat Dec 13
05:07:58 2014
@@ -646,7 +646,7 @@
GetEventUserName(pevlr, szUsername);
GetDateFormatW(LOCALE_USER_DEFAULT, DATE_SHORTDATE, &time, NULL,
szLocalDate, MAX_PATH);
- GetTimeFormatW(LOCALE_USER_DEFAULT, TIME_NOSECONDS, &time, NULL,
szLocalTime, MAX_PATH);
+ GetTimeFormatW(LOCALE_USER_DEFAULT, 0, &time, NULL, szLocalTime,
MAX_PATH);
GetEventType(pevlr->EventType, szEventTypeText);
GetEventCategory(lpLogName, lpSourceName, pevlr, szCategory);