samg / timetrap

Simple command line timetracker
http://rubygems.org/gems/timetrap
Other
1.48k stars 116 forks source link

Four digit Id's should be padded. #83

Closed berkes closed 10 years ago

berkes commented 10 years ago

Currently they are collapsed into the date.

schermafdruk van 2014-01-09 10 44 22

Screenshot comes from timetrap week --ids (I have migrated five years of data from Hamster into Timetrap)

samg commented 10 years ago

I've just released a fix for this in version 1.8.13 (http://rubygems.org/gems/timetrap/versions/1.8.13).

Thanks for the report and enjoy using timetrap.

berkes commented 10 years ago

Thanks a million!

And am really impressed by the elegant oneliner to dertermine the padding: https://github.com/samg/timetrap/commit/67a0771271b000cfa86e49e4da864ebbfcb8ec5b#diff-b7dff7c1cfb7a294cec1363bd796171aR15 :)