The %F format string to reprensent ISO 8601 dates is specific to C99 and
not available on all platforms, use basic %Y-%m-%d to get the same
result.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
/* Print date and time */
res = strftime(timestr, sizeof(timestr),
/* Print date and time */
res = strftime(timestr, sizeof(timestr),
if (!res) {
// TODO: log instead
fprintf(stderr, "[warning] Unable to print ascii time.\n");
if (!res) {
// TODO: log instead
fprintf(stderr, "[warning] Unable to print ascii time.\n");