mirror of
https://github.com/pkgconf/pkgconf.git
synced 2026-01-26 16:09:27 +00:00
spdxtool: util: manually specify ISO8601 format string elements instead of %F and %Z
These do not work on the Microsoft C runtime library. Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
parent
0fc3ba9d95
commit
36ac187ad5
@ -216,7 +216,7 @@ spdxtool_util_get_iso8601_time(time_t *wanted_time)
|
||||
}
|
||||
|
||||
/* ISO8061 time with Z at the end */
|
||||
strftime(buf, 21, "%FT%TZ", tm_info);
|
||||
strftime(buf, 21, "%Y-%m-%dT%H:%M:%SZ", tm_info);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user