]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3430. [bug] win32: isc_time_formatISO8601 was missing the
authorMark Andrews <marka@isc.org>
Tue, 4 Dec 2012 03:59:56 +0000 (14:59 +1100)
committerMark Andrews <marka@isc.org>
Tue, 4 Dec 2012 03:59:56 +0000 (14:59 +1100)
                        'T' between the date and time. [RT #32044]

CHANGES
lib/isc/win32/time.c

diff --git a/CHANGES b/CHANGES
index ea87ecbe0785265f7884988b873955ceccd13463..2245e8ce948bc1a41800b5e321a162f8beb78f1d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+3430.  [bug]           win32: isc_time_formatISO8601 was missing the
+                       'T' between the date and time. [RT #32044]
+
 3429.  [bug]           dns_zone_getserial2 could a return success without
                        returning a valid serial. [RT #32007]
 
index fe303f37328ea0c66db4e4048d1affe9ecbc4760..8aaf6bc65f1f311cc2ef8561ac907c4ac030b6e6 100644 (file)
@@ -313,7 +313,7 @@ isc_time_formatISO8601(const isc_time_t *t, char *buf, unsigned int len) {
                GetTimeFormat(LOCALE_NEUTRAL,
                              TIME_NOTIMEMARKER | TIME_FORCE24HOURFORMAT,
                              &st, "hh':'mm':'ss", TimeBuf, 50);
-               snprintf(buf, len, "%s%sZ", DateBuf, TimeBuf);
+               snprintf(buf, len, "%sT%sZ", DateBuf, TimeBuf);
        } else {
                buf[0] = 0;
        }