mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
fix
This commit is contained in:
parent
68cf23eb67
commit
57cd630dc7
@ -152,7 +152,7 @@ private:
|
|||||||
std::tm tm = c11log::details::os::localtime();
|
std::tm tm = c11log::details::os::localtime();
|
||||||
char buf[32];
|
char buf[32];
|
||||||
sprintf(buf, ".%d-%02d-%02d.", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
|
sprintf(buf, ".%d-%02d-%02d.", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday);
|
||||||
return basename+buf;
|
return basename+buf+extension;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string _base_filename;
|
std::string _base_filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user