]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9] fix isc_time_formathttptmestamp() on win32
authorEvan Hunt <each@isc.org>
Tue, 2 Apr 2013 05:29:22 +0000 (22:29 -0700)
committerEvan Hunt <each@isc.org>
Tue, 2 Apr 2013 05:29:22 +0000 (22:29 -0700)
3539. [port] win32: timestamp format didn't match other platforms.
(cherry picked from commit 99bf6a57d9f6b55da6de9c22fb6883a4bf7d569e)

CHANGES
lib/isc/win32/time.c

diff --git a/CHANGES b/CHANGES
index 94b5013f23638a2f1330c1d55f88d32a032f342f..07fa8dc8fe7202b99fca9a882b8ef79841e41954 100644 (file)
--- 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
index 8aaf6bc65f1f311cc2ef8561ac907c4ac030b6e6..acbb2635e7eb310ad2cb069a4d52c6b726a95d53 100644 (file)
@@ -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);