Fix daily_filename_format_calculator (hopefully)

This commit is contained in:
Charless Milette 2021-11-15 15:50:16 -05:00
parent ba120e524b
commit 95aa159bdd

View File

@ -87,7 +87,7 @@ struct daily_filename_format_calculator
for (;;)
{
size_t size = buf.capacity() - start;
size_t count = details::fmt_helper::strftime(&buf[start], size, &tm_format[0], &tm);
size_t count = details::fmt_helper::strftime(&buf[start], size, &tm_format[0], &now_tm);
if (count != 0)
{
// Remove the extra space.