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

12-hour clock modes #16

Merged
merged 14 commits into from
Apr 24, 2023
Merged

12-hour clock modes #16

merged 14 commits into from
Apr 24, 2023

Conversation

Kyllingene
Copy link
Contributor

@Kyllingene Kyllingene commented Apr 24, 2023

This implements both of the 12-hour modes I described here, under the flags -u (for the date-line mode) and -U (for the block-style mode). You can have both enabled, though I don't see why you would want to.

I also ran cargo clippy and implemented some of the less intrusive changes (+= instead of _ = _ + ..., unnecessary allocations, etc.). If you wish, I can revert that commit and separate it out into a new PR.

@valebes valebes merged commit 6f57224 into valebes:master Apr 24, 2023
1 check passed
@valebes
Copy link
Owner

valebes commented Apr 24, 2023

Perfect! Thank you very much.
I did a check and everything seems fine, I will proceed to merge and release new release.
Thank you for your contribution.

@Kyllingene
Copy link
Contributor Author

One issue, I forgot to correct the usage info in the README.

@valebes
Copy link
Owner

valebes commented Apr 24, 2023

@Kyllingene no problem, already fixed!

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 this pull request may close these issues.

None yet

2 participants