View Single Post
Old 11-23-2021, 03:21 PM   #2341
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by davidfor View Post
I think what you want is for the "Finished" column to show the date last read from the device when the book is finished. But, not to show anything at other times. If so, you could use a template like:

Code:
program:
cmp($$#kobo_percent_read, 100, '', format_date($$#kobo_last_read,'dd MMM yyyy'), format_date($$#kobo_last_read,'dd MMM yyyy'));
That will show the last read date when the percent read reaches 100. The column names need to be changed to fit what yours.

If it is something else, then I can try. But, you might want to look at https://www.mobileread.com/forums/sh...d.php?t=343076 where I discuss doing something similar to I what I think you want but using icons instead of separate columns.
Thank you so much - this is what I hoped to accomplish (device connected @100% read = date finished). I replaced what I had with your code but, of course, it wiped out all my previous entries for books read.

Is it possible to maintain one column for existing and future dates using your code? It would appear that I must either 1) create a second duplicate column created with your code, or 2) manually re-enter the dates of hundreds of previous finished books to one new column using your code.

P.S. I did indeed read your referenced response linked above prior to my original post.

Last edited by Skydog; 11-23-2021 at 03:25 PM. Reason: P.S.
Skydog is offline