Still can't work out how to suppress leading zeroes in clock #4606
Unanswered
unikitty37
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I try this in my config, it should just show the day of the month with no padding for single-digit days:
but when I run with
--log-level tracethis producesclock: chrono format error: Invalid specifier in chrono-specs(yes, that is a double space, so it looks like it's trying to print something and not finding it. If I omit the-, it displays the date, but does so incorrectly before the 10th of the month.The documentation at https://fmt.dev/12.0/syntax/#chrono-format-specifications implies this should work.
What should I be putting? It looks like fmt 12 is being used, which matches the documentation. (I'm running Waybar v0.14.0 on Arch.)
Beta Was this translation helpful? Give feedback.
All reactions