mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fix daily_filename_format_calculator (hopefully)
This commit is contained in:
@@ -87,7 +87,7 @@ struct daily_filename_format_calculator
|
|||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
size_t size = buf.capacity() - start;
|
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)
|
if (count != 0)
|
||||||
{
|
{
|
||||||
// Remove the extra space.
|
// Remove the extra space.
|
||||||
|
Reference in New Issue
Block a user