From a5d543a9ca592486290e770aa3eb6475d40b28a7 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 4 Dec 2012 14:59:56 +1100 Subject: [PATCH] 3430. [bug] win32: isc_time_formatISO8601 was missing the 'T' between the date and time. [RT #32044] --- CHANGES | 3 +++ lib/isc/win32/time.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 3996b7e4be..28f1ddcebd 100644 --- 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] diff --git a/lib/isc/win32/time.c b/lib/isc/win32/time.c index fe303f3732..8aaf6bc65f 100644 --- a/lib/isc/win32/time.c +++ b/lib/isc/win32/time.c @@ -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; }