dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
679 stars 75 forks source link

#139 Added a separate method for duration calculation #146

Closed alksmt closed 3 years ago

alksmt commented 3 years ago

PR for #139

Moving duration calculation to a separate Duration method, including cases when a record is still being tracked.

dominikbraun commented 3 years ago

@alksmt A PR has been merged that still contained two record.End.Sub(record.Start) calls. Would you like to replace them as well before this PR gets merged or should I do this myself? 😄

alksmt commented 3 years ago

@dominikbraun replaced this entries and found another one for status command, PR is up to date with main branch

dominikbraun commented 3 years ago

@alksmt Thanks!