kinabalu/obsidian-word-sprint

Stats Sprint Length label cut off when sprint length = 1 minute

MalignantCarp opened this issue · 1 comments

This issue occurs when you have a sprint length of 1 minute:

image

In utils.ts, the secondsToHumanize function will return an empty string if seconds = 60. The seconds > 60 statement won't fire and and the seconds % 60 > 0 will not fire either because 60 % 60 = 0.

fix is ready and will be released along with 0.0.16