mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
pattern_formatter support most strftime format
This commit is contained in:
@@ -26,7 +26,7 @@ inline std::string& fast_itostr(int n, std::string& s, int padding)
|
||||
{
|
||||
if (n == 0)
|
||||
{
|
||||
s = "0";
|
||||
s = std::string(padding, '0');
|
||||
return s;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user