This is my personal gitlab instance. Feel free to browse my stuff: https://gitlab.greeson.xyz/users/highsaltlevels/projects

Added hours, minutes, and seconds time printout

David Greeson requested to merge print-time-better into master

Created by: HighSaltLevels

What/Why

I wanted a cleaner printout of how long it took. So I decided to split it up between hours, minutes and seconds.

Old output:

Finished in 3789.986104488373 seconds

New output:

Finished in 1 hours, 2 minutes, and 9 seconds

Note: I rounded down completely so even though it was 9.986 seconds, it will still only show 9 as I called int() on that value. I suppose I could use round() instead, but I would rather just leave it as is and call this the functionality that I want.

Merge request reports