From: Tim Kientzle Date: Mon, 29 Jun 2015 04:08:19 +0000 (-0700) Subject: Windows does not support %F, use %Y-%m-%d instead. X-Git-Tag: v3.1.900a~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cb5a0cccf987badba8584f3f0be8b6b2bcd2c7b;p=thirdparty%2Flibarchive.git Windows does not support %F, use %Y-%m-%d instead. --- diff --git a/libarchive/archive_write_set_format_warc.c b/libarchive/archive_write_set_format_warc.c index 074b07b91..80abc6f4e 100644 --- a/libarchive/archive_write_set_format_warc.c +++ b/libarchive/archive_write_set_format_warc.c @@ -382,10 +382,10 @@ _popul_ehdr(struct archive_string *tgt, size_t tsz, warc_essential_hdr_t hdr) /* record time is usually when the http is sent off, * just treat the archive writing as such for a moment */ - xstrftime(tgt, "WARC-Date: %FT%H:%M:%SZ\r\n", hdr.rtime); + xstrftime(tgt, "WARC-Date: %Y-%m-%dT%H:%M:%SZ\r\n", hdr.rtime); /* while we're at it, record the mtime */ - xstrftime(tgt, "Last-Modified: %FT%H:%M:%SZ\r\n", hdr.mtime); + xstrftime(tgt, "Last-Modified: %Y-%m-%dT%H:%M:%SZ\r\n", hdr.mtime); if (hdr.recid == NULL) { /* generate one, grrrr */