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

Bug: hms #47

Closed
skx opened this issue Oct 17, 2022 · 0 comments · Fixed by #48
Closed

Bug: hms #47

skx opened this issue Oct 17, 2022 · 0 comments · Fixed by #48

Comments

@skx
Copy link
Owner

skx commented Oct 17, 2022

The following output is incorrect:

frodo ~/Repos/github.com/skx/yal $ ./yal -e "(print (hms))"
7:7:7
frodo ~/Repos/github.com/skx/yal $ ./yal -e "(print (hms))"
7:7:9

The numbers should be zero-padded if only single digits.

skx added a commit that referenced this issue Oct 17, 2022
This closes #47, by ensuring that single digit minutes, hours, or
seconds are two digits in length.
@skx skx closed this as completed in #48 Oct 17, 2022
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

Successfully merging a pull request may close this issue.

1 participant