From 28725526fdf3c2f41ca648b0587e4656ec4798e9 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Mon, 1 Apr 2013 22:29:22 -0700 Subject: [PATCH] [v9_9] fix isc_time_formathttptmestamp() on win32 3539. [port] win32: timestamp format didn't match other platforms. (cherry picked from commit 99bf6a57d9f6b55da6de9c22fb6883a4bf7d569e) --- CHANGES | 2 ++ lib/isc/win32/time.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 94b5013f23..07fa8dc8fe 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +3539. [port] win32: timestamp format didn't match other platforms. + --- 9.9.3rc1 released --- 3538. [test] Running "make test" now requires loopback interfaces diff --git a/lib/isc/win32/time.c b/lib/isc/win32/time.c index 8aaf6bc65f..acbb2635e7 100644 --- a/lib/isc/win32/time.c +++ b/lib/isc/win32/time.c @@ -287,7 +287,7 @@ isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len) { REQUIRE(len > 0); if (FileTimeToSystemTime(&t->absolute, &st)) { GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, - "ddd',', dd-MMM-yyyy", DateBuf, 50); + "ddd',' dd MMM yyyy", DateBuf, 50); GetTimeFormat(LOCALE_USER_DEFAULT, TIME_NOTIMEMARKER | TIME_FORCE24HOURFORMAT, &st, "hh':'mm':'ss", TimeBuf, 50);