From: Mark Andrews Date: Tue, 4 Dec 2012 03:59:56 +0000 (+1100) Subject: 3430. [bug] win32: isc_time_formatISO8601 was missing the X-Git-Tag: v9.10.0a1~679^2~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8a6f41d86ac80fd1397ffee65bed5131129a84e2;p=thirdparty%2Fbind9.git 3430. [bug] win32: isc_time_formatISO8601 was missing the 'T' between the date and time. [RT #32044] --- diff --git a/CHANGES b/CHANGES index ea87ecbe078..2245e8ce948 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 fe303f37328..8aaf6bc65f1 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; }