mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
* Cleanup util.secondsFrom*Clock stuff (simpler maths, tail calls, meaningful printf tokens). * Use util.secondsToClockDuration in ReadTimer instead of reinventing the wheel three different ways. * Reschedule unexpired timers properly on resume (as best as we can, given the unreliable nature of REALTIME). * Make clock timers tick on the dot, instead of at the same second as when being set. * Speaking of clock timers, leave the math to os.date & os.time, don't reinvent the wheel yet again.