wakatara / harsh

Habit tracking for geeks. A minimalist, command line tool for tracking and understanding your habits.
MIT License
137 stars 11 forks source link

Unexpected output of ask command #13

Closed siriak closed 2 years ago

siriak commented 3 years ago

harsh a prints out some dates for no apparent reason.

siriak@siriak-laptop:~$ harsh a
2021-07-11:
2021-07-12:
2021-07-13:
2021-07-14:
2021-07-15:
2021-07-19:
         Habit1                                                           ━━━! [y/n/s/⏎] 

To Reproduce

  1. Install attached configs
  2. Run harsh a

Expected behavior

harsh output starts with

2021-07-19:
         Habit1                                                           ━━━! [y/n/s/⏎] 

Environment

Note I had to add extension .txt to files for GitHub to accept them, please rename them to habits and log without the .txt extension to reproduce the bug.

Attachments habits.txt log.txt

wakatara commented 2 years ago

Heya @siriak

Sorry to take so long to get round to this. It was in deed a bug, and I just fixed the problem (for both ask and log functions) in the last two commits I just pushed. I'll be making a release for the bug fixes in the next day or so...

thanks for reporting the bug (I fixed it when I rolled over to a new log file this year just now.), and sorry it took so long for me to get to it. Hopefully you're still using harsh.

And happy year of the tiger!! 🐯

ciao ! Daryl.