mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Adds time left for chapter and document to the screensaver message options (#7897)
This commit is contained in:
@@ -144,7 +144,8 @@ end
|
||||
|
||||
function BookStatusWidget:getStatHours()
|
||||
if stats_book.time then
|
||||
return util.secondsToClock(stats_book.time, false)
|
||||
local user_duration_format = G_reader_settings:readSetting("duration_format", "classic")
|
||||
return util.secondsToClockDuration(user_duration_format, stats_book.time, false)
|
||||
else
|
||||
return _("N/A")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user