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

Low-precision times should zero unspecified fields #41

Open
hollasch opened this issue Oct 26, 2018 · 0 comments
Open

Low-precision times should zero unspecified fields #41

hollasch opened this issue Oct 26, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@hollasch
Copy link
Owner

Here's an example:

> timeprint --now --time 20181029T160000 %_Dd %_d0H:%_h0M:%_m0S
3d 05:13:30

> timeprint --now --time 20181029T1600 %_Dd %_d0H:%_h0M:%_m0S
3d 05:14:00

Notice that if the time here is specified as 1600, then the delta time uses the same precision for --now, zeroing out the seconds. In this situation, a time of 1600 (or even 16) should be interpreted as 160000.

@hollasch hollasch added the bug Something isn't working label Oct 26, 2018
@hollasch hollasch self-assigned this Oct 26, 2018
@hollasch hollasch removed their assignment Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant