fixed __DATE__ showing up wrong

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40766
This commit is contained in:
David Anderson 2007-05-09 21:35:24 +00:00
parent ec13f1b998
commit a6c9fa470d

View File

@ -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);