3430. [bug] win32: isc_time_formatISO8601 was missing the

'T' between the date and time. [RT #32044]
This commit is contained in:
Mark Andrews
2012-12-04 14:59:56 +11:00
parent 3ff483ed84
commit 8a6f41d86a
2 changed files with 4 additions and 1 deletions

View File

@@ -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]

View 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;
}