-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
September is the only month abbreviated with four letters #3194
Comments
The https://github.com/gabime/spdlog/wiki/3.-Custom-formatting#pattern-flags
Use the |
Thanks for the suggestion, I didn't thought to use alignment feature to truncate the name. It works great. However, while there are no requirements on "Abbreviated month name", I still find quite odd to have that exception. |
Hello all,
I've noticed that month abbreviations hardcoded in
include/spdlog/pattern_formatter-inl.h
use three letters for all months except September, which is abbreviated withSept
.This makes logs misaligned when the month changes to/from September, and makes logs misaligned to other logs created with *nix tools/sprintf which uses three letter abbreviations for all months.
Is there a particular reason for this? Thanks!
The text was updated successfully, but these errors were encountered: