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

Leading zero is always output, even for 12-hour display #110

Open
majick opened this issue Feb 15, 2023 · 0 comments
Open

Leading zero is always output, even for 12-hour display #110

majick opened this issue Feb 15, 2023 · 0 comments

Comments

@majick
Copy link

majick commented Feb 15, 2023

The large clock always outputs leading zero, even when 12 hour display is selected. In the United States it is customary to omit this digit when displaying the time in 12-hour format. Most users in this region expect the time to look like '%l:%M %p

This line should be conditional on 24-hour mode or a value >9.

draw_number(ttyclock.date.hour[0], 1, 1);

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

1 participant