View Single Post
Old 11-02-2022, 12:13 PM   #67
harmtemolder
Enthusiast
harmtemolder began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Oct 2020
Device: Kobo Aura
Quote:
Originally Posted by harmtemolder View Post
I've gone through my code from 2020 again, and it reads the date from `summary` > `modified` in the `metadata.epub.lua`. But I'm manually opening a couple from books that I've recently finished, and all of these have an empty string in that field. So it looks like KOReader no longer logs that in the metadata.
I've replaced that old code with logic that looks at a book's highlights and sets a first read column to the earliest date, and a last read column to the latest. I hope that helps.
harmtemolder is offline   Reply With Quote