View Single Post
Old 01-02-2024, 08:57 AM   #1
Cattivix
Junior Member
Cattivix began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
Custom column calculating time taken to read a book

Hi guys!

I've been using Calibre for a couple of years but now that I started to read solely on e-ink I've been trying to make my library a bit "smarter".

I'd like to add a custom column which calculates the days I took to read a book from my #started and my #finished date columns, both in dd MM yyyy.

I've browsed the General Program Mode wiki on Calibre but honestly it's overwhelming. Is the function supposed to be written in the "template" line in the custom column? I also found a reddit post mentioning some kind of "editor" where I quickly can test the functions.

Honestly looking at the wiki it doesn't even look like I can do calculations with the date format. Should I make a plugin instead? How hard is it?

Thanks in advance
Cattivix is offline   Reply With Quote