mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 06:09:13 -04:00
3430. [bug] win32: isc_time_formatISO8601 was missing the
'T' between the date and time. [RT #32044]
This commit is contained in:
parent
3ff483ed84
commit
8a6f41d86a
2 changed files with 4 additions and 1 deletions
3
CHANGES
3
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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue