Tags: masukomi/hey_3
Tags
v1.0.0-beta.7 ADDED - hey projects lists all the projects you've recorded. Useful when you can't remember what you called something, and for other tooling, like shell autocomplete. ;) FIXED - How we determine AM vs PM for a time that's less than 12 I think this was a bug introduced in beta 6 CHANGED - general refactoring. Modules no longer exit directly, but instead raise exceptions. - added some raku unit tests Previously there were just bash_unit tests, but with help from the #RakuLang folks on Mastodon I managed to figure out how to freeze time, and then that I didn't need to. The result is some real testing around the backdating code which has been the most problematic.
v1.0.0-beta.6 ADDED - hey nevermind deletes the most recent running timer - duration-string method in Utilities - timer-duration method in Timer - FIXED - hey running It was calling an old method signature that was erroring out. A test has been added. CHANGED - hey stop Now has more verbose output: Ex. "Stopped 57 at Wed, 10:40 AM (@Raku) after 1h31m" I found that the extra info was very useful for confirming I'd stopped the right thing, when dealing with timers that had been left running for days.
v1.0.0-beta.5 ADDED - Tests! Most everything has test coverage now, except for the backdating and date specification in logs. PRs welcome. - Ability to specify sorting when retrieving events. CHANGED - Log output now has "concise" durations. Ex. "2 hours and 23 minutes" is now written as "2h23m". Note: that's a bit too "consice" for my liking but it's what the library offered. - Table generators are no longer overriding sorting of the list passed in. - MAJOR refactoring. Took most of the methods out of `Database.rakumod` and moved them into domain specific files. - Now prints out nice message instead of empty table when there are no timers or interrupts recorded in the specified duration. - logs now use 12hr time with AM/PM designation. FIXED - changed the logging to use cultural durations instead of literal. See README for details. tl;dr: 1 day gets you today. 1 week gets you this week. Hours, minutes, and seconds are literal amounts.
v1.0.0-beta.4 ADDED - now you can kill a specific timer FIXED - corrected edge case with adjusting time post noon. - corrected bug in a couple places where only the first row of a query was being returned CHANGED - Removed summary from all tables It wasn't wrapping and looked terrible. Will reinstate once i get the wrapping working again. - Improved output - Now specifes id of newly created timer - Now sorts people, projects, & tags in table views - Exit code for user error is now 64
v1.0.0-beta.3 - Corrected determination of a backdate being 'yesterday' - Corrected a bad function call in adjusting time for yesterday