scy / timesheet.txt

A plain-text timesheet file format and tools for it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

scy opened this issue · comments

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.