View Single Post
Old 10-11-2014, 03:13 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,773
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by bald View Post
Hi,

Many thanks for the reply. This does indeed appear to work even when changing the book title (which updates the file name).

Would still be interested to know if there is a way within Calibre to do this.

Thanks again.
No there isn't, but there is a program mode template function formats_modtimes(date_format) see ==>> Using functions in templates - template program mode

You could make an enhancement request for a new template function - formats_createtimes(date_format). You may even be able to write the function yourself see Preferences->Template functions - you probably need someone like Kovid or chaley to chime in and advise.

Armed with that function, and the rest of the template functions you could write a template that returns the 'format' of the format file with the earliest create time - eg EPUB, or MOBI... or WMP

BR

Last edited by BetterRed; 10-11-2014 at 06:31 AM.
BetterRed is offline   Reply With Quote