From 28e9e22fe1cf09858a37f653ba0eba3f396ee9c3 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Mon, 24 Nov 2008 01:52:07 -0600 Subject: [PATCH] Fixed timestamp in mm_LogFatal/metamod-fatal.log having the day twice instead of the month. --- loader/loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/loader.cpp b/loader/loader.cpp index 61dccb1..2c39849 100644 --- a/loader/loader.cpp +++ b/loader/loader.cpp @@ -25,7 +25,7 @@ mm_LogFatal(const char *message, ...) return; t = time(NULL); - strftime(header, sizeof(header), "%d/%d/%Y - %H:%M:%S", localtime(&t)); + strftime(header, sizeof(header), "%m/%d/%Y - %H:%M:%S", localtime(&t)); fprintf(fp, "L %s: ", header); va_start(ap, message);