Commit Graph

2 Commits

Author SHA1 Message Date
contrapunctus ee85d171e4 Fix key history bug where only one item was being stored; add tests
1. We were using gethash on chronometrist-events rather than
   chronometrist-key-history 🤦‍♀
2. If an event has more than one key, determining the value of
   old-keys in the outer loop meant that the first key would be
   replaced by the second.

We also rename local variables so they tell us what objects they
represent, and reindent the code so it is more condensed.
2020-06-26 16:18:55 +05:30
contrapunctus 2a6829c0d3 Fix byte compiler errors; add tests for task-time-one-day 2020-05-21 01:44:11 +05:30