View Single Post
Old 10-15-2020, 03:59 PM   #19
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,126
Karma: 77213683
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I took the template that chaley helped me with in this thread and made a few small modifications:

Code:
program:
	p = format_date(raw_field('pubdate'), 'yyyy');
	if p then
		strcat(re(p, '^(...).*', '\1'), '0s.', p)
		else 'Unknown'
	fi
Make sure the column is set to sort by text or searching for unknown won't work.

In Preferences > Look and Feel > Tag Browser, put the column into the "categories with hierarchical items" field. This is the result in the tag browser of my fanfiction VL:

Click image for larger version

Name:	2020-10-15 16_59_08-Window.png
Views:	161
Size:	8.4 KB
ID:	182759

Last edited by ownedbycats; 10-15-2020 at 04:01 PM.
ownedbycats is offline   Reply With Quote