Release notes, v0.2.3

Sparkle now has a simple logbook calculator! ✨

sparkle tact logbook calculate <<LOG
- 12:15 / 13:00 - routine solving / 🥱
- 13:15 / 14:00 - day planning / 🤔
- 14:00 / 15:00 - micro-tasking / 🥱
- 15:00 / 2h15m / 22:15 - focusing on the goal / 😤
LOG

It returns something like this 10h total / 2h30m break 25% / 7h30m work 75%. To verify previous records, add a result to the input, e.g.,

sparkle tact logbook calculate <<LOG
- 12:15 / 13:00 - routine solving / 🥱
- 13:15 / 14:00 - day planning / 🤔
- 14:00 / 15:00 - micro-tasking / 🥱
- 15:00 / 2h15m / 22:15 - focusing on the goal / 😤
10h total / 2h30m break 30% / 7h30m work 70%
LOG

It could return a detailed error if the calculation has a mistake

Error: error: invalid record
expected: 10h total / 2h30m break 25% / 7h30m work 75%
obtained: 10h total / 2h30m break 30% / 7h30m work 70%

made with ❤️ for everyone by OctoLab (opens in a new tab)