Skip to content
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

Clock Format No Longer has an Option for No Leading Zeros #1696

Closed
4tuw2tuv0 opened this issue Sep 25, 2022 · 5 comments
Closed

Clock Format No Longer has an Option for No Leading Zeros #1696

4tuw2tuv0 opened this issue Sep 25, 2022 · 5 comments

Comments

@4tuw2tuv0
Copy link

4tuw2tuv0 commented Sep 25, 2022

It may've been a change in the version update; I used to be able to use %l to dislay the 12-hour (I assume there was an equivalent for 24-hour, as well) hour without a leading zero: e.g. 9 vs. 09.

After updating to v0.9.13, Waybar threw an error of an invalid format being used and it doesn't seem like an equivalent is, now, available. The option to not have leading zeros seems entirely removed.

@JStation
Copy link

I'm also having this issue. It looks like the formatting library used by waybar doesn't support the %l or %k sequences nor the - or _ modifiers that remove padding zeroes or replace them with spaces respectively.

There is a little more detail on #1469

@JStation
Copy link

The fmt issue might be more directly relevant:
fmtlib/fmt#2959

@LukashonakV
Copy link
Contributor

Hi @WammKD can you close the issue as a clone of #1469
Please check the last comment in it

@LukashonakV
Copy link
Contributor

@WammKD , up

@LukashonakV
Copy link
Contributor

Hi @WammKD , up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants