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

Add options for simple elapsed time printing #43

Open
hollasch opened this issue Nov 16, 2018 · 0 comments
Open

Add options for simple elapsed time printing #43

hollasch opened this issue Nov 16, 2018 · 0 comments

Comments

@hollasch
Copy link
Owner

One option is to specify the modification age of a file. Equivalent to

timeprint --modification <file> --now ...

A second improvement would be a simple, smart elapsed time format code. This would be in the format

%_Y, %_yD, %_Dh:%_h0M:%_m0S

In practice it would be a bit smarter than that, eliding large units with zero value. For example, if the total elapsed time was under a day, then elide years and days.

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