samg / timetrap

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

Longest note length working? #160

Closed jostber closed 6 years ago

jostber commented 7 years ago

Is it possible to set this parameter in .timetrap.yml to control the notes length?

longest_note_length: 200

I have set this, but the notes length is the standard in 1.14.1.

patrickdavey commented 7 years ago

Not currently no, this configuration was never set.

Currently is it used here in the text formatter you could easily make a copy of that formatter and set the LONGEST_NOTE_LENGTH to be whatever you like.

You can send a Pull Request with the functionality and tests of course - if @samg reckons it's a config which would be good to add. Perhaps this sort of thing is best done by just making your own formatter though.

jostber commented 7 years ago

Setting it in the text formatter works well, thanks. Could be useful to have it as a config though.