mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
fix name
This commit is contained in:
parent
f4b7210e7b
commit
dd46579cb4
@ -45,7 +45,7 @@ struct daily_filename_format_calculator
|
||||
// Create filename by formatting %Y_%m_%d.log
|
||||
static filename_t calc_filename (const filename_t &filename, const tm &now_tm)
|
||||
{
|
||||
std::string fmt_filename = fmt::format("{{:{}}}", filename);
|
||||
filename_t fmt_filename = fmt::format("{{:{}}}", filename);
|
||||
return fmt::format(fmt_filename, now_tm);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user