scy / timesheet.txt

A plain-text timesheet file format and tools for it.
MIT License
57 stars 2 forks source link

__str__() output: duration minutes should be zero-padded #11

Closed scy closed 5 years ago

scy commented 5 years ago

Currently, it looks like this:

2019-06-16 18:31:00 -- 2019-06-16 19:06:00 ( 0:35)  …
2019-06-16 19:06:00 -- 2019-06-16 19:13:00 ( 0: 7)  …
2019-06-16 19:42:00 -- 2019-06-16 19:50:00 ( 0: 8)  …
2019-06-16 23:07:00 -- 2019-06-16 23:40:00 ( 0:33)  …

It's okay that the hours are space-padded, but the minutes (like 0: 7 and 0: 8) should really be zero-padded, i.e. 0:07 and 0:08.