From 3c839a6afc5f183232d4813fbdd9f37431fe3a0c Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:16:52 +0200 Subject: [PATCH] readerstatus: update status modification time --- frontend/apps/reader/modules/readerstatus.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/apps/reader/modules/readerstatus.lua b/frontend/apps/reader/modules/readerstatus.lua index 56ea1ec69..1d4e984c0 100644 --- a/frontend/apps/reader/modules/readerstatus.lua +++ b/frontend/apps/reader/modules/readerstatus.lua @@ -219,6 +219,7 @@ end -- Otherwise we change status from reading/abandoned to complete or from complete to reading. function ReaderStatus:onMarkBook(mark_read) self.summary.status = (not mark_read and self.summary.status == "complete") and "reading" or "complete" + self.summary.modified = os.date("%Y-%m-%d", os.time()) -- If History is called over Reader, it will read the file to get the book status, so save and flush self.settings:saveSetting("summary", self.summary) self.settings:flush()