From 8c112bc3e720d7dab6442e5335787688d9158354 Mon Sep 17 00:00:00 2001 From: Ziliang Guo Date: Sat, 13 Dec 2014 05:07:58 +0000 Subject: [PATCH] [EVENTVWR] Display seconds for event time in event viewer. Patch by Lee Schroeder. CORE-8612 svn path=/trunk/; revision=65623 --- reactos/base/applications/mscutils/eventvwr/eventvwr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/applications/mscutils/eventvwr/eventvwr.c b/reactos/base/applications/mscutils/eventvwr/eventvwr.c index ab5709fca75..d6ad6937f38 100644 --- a/reactos/base/applications/mscutils/eventvwr/eventvwr.c +++ b/reactos/base/applications/mscutils/eventvwr/eventvwr.c @@ -646,7 +646,7 @@ QueryEventMessages(LPWSTR lpMachineName, 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);