By using dates instead of a counter we can get an accurate countdown. Especially as modern versions of Chromium slow down intervals when the app is not in the foreground.
During my testing a 25 minute pomodoro could take anywhere between 30 and 40 minutes with the previous implementation as I didn't have Logseq in the foreground.
This implements standard tricks to make the first seconds display better aesthetically (like adding a few milliseconds to timers).
By using dates instead of a counter we can get an accurate countdown. Especially as modern versions of Chromium slow down intervals when the app is not in the foreground.
During my testing a 25 minute pomodoro could take anywhere between 30 and 40 minutes with the previous implementation as I didn't have Logseq in the foreground.
This implements standard tricks to make the first seconds display better aesthetically (like adding a few milliseconds to timers).
This should fix #11