From a6c9fa470d81c0d756a9b305ad120a22cdcb4d99 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 9 May 2007 21:35:24 +0000 Subject: [PATCH] fixed __DATE__ showing up wrong --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40766 --- sourcepawn/compiler/sc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index 0e62d854..97e3fc41 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -566,7 +566,7 @@ static void inst_datetime_defines(void) time(&td); curtime = localtime(&td); - strftime(date, 31, "\"%m/%d%Y\"", curtime); + strftime(date, 31, "\"%m/%d%/Y\"", curtime); strftime(ltime, 31, "\"%H:%M:%S\"", curtime); insert_subst("__DATE__", date, 8);