We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since the last update, %S started showing seconds and nanoseconds at the same time.
My original config:
"clock": { "tooltip-format": "<tt><small>{calendar}</small></tt>", "format-alt": "{:%Y-%m-%d}", "format": "{:%Y-%m-%d %H:%M:%S}", "interval": 1 },
Which did not have this issue before the update. Could you please fix it or tell me how to change the config to fix it?
The text was updated successfully, but these errors were encountered:
It seems to be because something changed in fmt 10.0: https://github.com/fmtlib/fmt/releases/tag/10.0.0
Implemented formatting of subseconds. For example (godbolt): #include <fmt/chrono.h> int main() { // prints 01.234567 fmt::print("{:%S}\n", std::chrono::microseconds(1234567)); } Thanks patrickroocks (Patrick Roocks) phprus (Vladislav Shchapov), BRevzin (Barry Revzin). Added precision support to %S. Thanks SappyJoy (Stepan Ponomaryov)
#include <fmt/chrono.h> int main() { // prints 01.234567 fmt::print("{:%S}\n", std::chrono::microseconds(1234567)); }
Thanks patrickroocks (Patrick Roocks) phprus (Vladislav Shchapov), BRevzin (Barry Revzin).
%S
Sorry, something went wrong.
See #2378, #2386 and please close the issue
No branches or pull requests
Since the last update, %S started showing seconds and nanoseconds at the same time.
My original config:
Which did not have this issue before the update.
Could you please fix it or tell me how to change the config to fix it?
The text was updated successfully, but these errors were encountered: