diff --git a/output.cc b/output.cc index 3c603649d..d2590bda7 100644 --- a/output.cc +++ b/output.cc @@ -979,6 +979,9 @@ char *logfilename(const char *str, struct tm *tm) { case 'D': strftime(tbuf, sizeof tbuf, "%m%d%y", tm); break; + case 'F': + strftime(tbuf, sizeof tbuf, "%Y-%m-%d", tm); + break; default: *p++ = *str; continue;