Quote:
Originally Posted by MerlinMama
...
I've been able to replace the current 'dateCreated' field with the date in my custom '#packaged' column, but the formatting for the date shows up wrong, no matter what changes I try in the personal.ini file. I would prefer it to be formatted in the same manner as the other entries (datePublished and dateUpdated), which I have as %%B %%d, %%Y.
|
Date objects passed in from Calibre columns were being converted to strings using the default format. I've added code so you can to *_format settings for those, too. For example with custom date column #custdate:
Code:
extra_titlepage_entries:calibre_cust_custdate
calibre_cust_custdate_format:%%Y-%%m-%%d
New test version posted (direct link)
Apply *_format ini option to date/time types. For calibre_* columns passed in.
Change deprecated has_key() to has_attr() on BS objects.