Quote:
Originally Posted by ownedbycats
For a format_date, how would I make it return the first three numbers of the year?
Code:
{pubdate:'test($,
strcat(format_date($,'yyyy')),
'Unknown')'}
I'm trying to get this to return, for instance, 1970.1973 if the pubdate year is 1973.
|
See
https://www.mobileread.com/forums/sh...29#post4046729.
It seems that adding substr to the template functions might be a good idea.