You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was browsing the code I came across the following comment about #367:
if (size >= tm_format.size() * 256) {
// If the buffer is 256 times larger than the format string, assume
// that `strftime` gives an empty result. There doesn't seem to be a
// better way to distinguish the two cases:
// https://github.com/fmtlib/fmt/issues/367
break;
}
a possibly simple way to fix this is adding an extra space in parse():
When I was browsing the code I came across the following comment about #367:
a possibly simple way to fix this is adding an extra space
in
parse()
:and remove the space after formatting in
format()
:The text was updated successfully, but these errors were encountered: