ci: use more compatible strftime formats

Windows lacks %F and %T formats for strftime.  Expand them to the
year/month/day and hour/minute/second formats, respectively.
This commit is contained in:
Edward Thomson
2018-08-27 01:06:37 +01:00
parent 6b2d8f09bc
commit e595eeb5ab

View File

@@ -26,7 +26,7 @@ int clar_summary_testsuite(struct clar_summary *summary,
struct tm *tm = localtime(&timestamp);
char iso_dt[20];
if (strftime(iso_dt, sizeof(iso_dt), "%FT%T", tm) == 0)
if (strftime(iso_dt, sizeof(iso_dt), "%Y-%m-%dT%H:%M:%S", tm) == 0)
return -1;
return fprintf(summary->fp, "\t<testsuite "