View Single Post
Old 03-02-2014, 01:13 AM   #28
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by BetterRed View Post
@eschwartz : I think chaley explained it to me once, can't recall him saying it was windows only - but look in the books table with something like SQLite Database Browser and tell me what you see - I'll be gobsmacked if you see something different to me.

Like theducks said, there's some under handed information hiding is going on behind the scenery to cause the undefined date "01010101T00:00:00' to be presented as 'blank/null/empty/vacuas' - might be Qt.

So where do you see this 'empty string' ?

BR
When printing out the pubdate via a template/plugboard, the pubdate returns as empty, in the sense that the template {pubdate:ifempty(isempty)} will return "isempty". During my tests I reset the pubdate on a book and it stopped showing up in the custom column.

See screenshot of my dedicated library for testing templates on blank records. I play around enough, mostly for other people, that I finally took the plunge. Am I crazy?

EDIT: See second screenshot, for debugging I used
Code:
ifempty(pdate,'[[pubdate-is-empty]] ')
instead of pdate.
Attached Thumbnails
Click image for larger version

Name:	calibre-test-pubdate-template.png
Views:	178
Size:	194.9 KB
ID:	119769   Click image for larger version

Name:	calibre-test-pubdate-template2.png
Views:	190
Size:	196.7 KB
ID:	119770  

Last edited by eschwartz; 03-02-2014 at 01:25 AM.
eschwartz is offline   Reply With Quote