Fix typos

This commit is contained in:
Dimitris Apostolou
2021-11-13 21:54:08 +02:00
parent ff9313e6dd
commit 591eedcf36
5 changed files with 7 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ struct daily_filename_format_calculator
{
// generate fmt datetime format string, e.g. {:%Y-%m-%d}.
filename_t fmt_filename = fmt::format(SPDLOG_FILENAME_T("{{:{}}}"), filename);
#if defined(_MSC_VER) && defined(SPDLOG_WCHAR_FILENAMES) // for some reason msvc doesnt allow fmt::runtime(..) with wchar here
#if defined(_MSC_VER) && defined(SPDLOG_WCHAR_FILENAMES) // for some reason msvc doesn't allow fmt::runtime(..) with wchar here
return fmt::format(fmt_filename, now_tm);
#else
return fmt::format(SPDLOG_FMT_RUNTIME(fmt_filename), now_tm);