mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-23 22:22:05 +08:00
Fix daily_filename_format_calculator (hopefully)
This commit is contained in:
parent
ba120e524b
commit
95aa159bdd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user