View Single Post
Old 05-03-2012, 05:11 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,465
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by PalingB View Post
Is it possible to show the date of an (epub)file and
sort on that date?
Yes.

Create a composite custom column (column built from other columns). Set the sort/search type to date. Do not show in tag browser. Do not show checkmarks. Use the following template
Code:
program: list_re(formats_modtimes('yyyy-MM-dd hh:mm:ss'), ',', 'EPUB:(.)', '\1')
You can change the date format (the yyyy... stuff) to whatever you want.

The new column will either be empty or contain the mod date for the epub format for the book. Sorting and searching on the column will work.

Do note that adding this column will have an impact on performance. Sorting on the column will require looking up the mod time of every format in your library. Try it. If you don't like the resulting performance, then delete the column and go to plan B.
chaley is offline   Reply With Quote