mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
[master] fix isc_time_formathttptmestamp() on win32
3539. [port] win32: timestamp format didn't match other platforms.
This commit is contained in:
parent
49f29a1d55
commit
99bf6a57d9
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
||||
3539. [port] win32: timestamp format didn't match other platforms.
|
||||
|
||||
3538. [test] Running "make test" now requires loopback interfaces
|
||||
to be set up. [RT #32452]
|
||||
|
||||
|
@ -287,7 +287,7 @@ isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len) {
|
||||
REQUIRE(len > 0);
|
||||
if (FileTimeToSystemTime(&t->absolute, &st)) {
|
||||
GetDateFormat(LOCALE_USER_DEFAULT, 0, &st,
|
||||
"ddd',', dd-MMM-yyyy", DateBuf, 50);
|
||||
"ddd',' dd MMM yyyy", DateBuf, 50);
|
||||
GetTimeFormat(LOCALE_USER_DEFAULT,
|
||||
TIME_NOTIMEMARKER | TIME_FORCE24HOURFORMAT,
|
||||
&st, "hh':'mm':'ss", TimeBuf, 50);
|
||||
|
Loading…
x
Reference in New Issue
Block a user