Hey all,
I have the problem that no functions used in a template are evaluated (or parsed). Meaning, the function call itself will be part of the output.
I first tried to get the pubdate year, but now noticed that nothing seems to work (see the capitalize call).
Template:
Code:
{author_sort}/
{series:||{series_index:| #|} - }
{title} ({pubdate})/
{authors} -
{series:||{series_index:| #|} - }
{title}
(format_date_field('pubdate', 'yyyy'))
format_date(field('pubdate'), 'yyyy')
capitalize('asdf')
Output:
Code:
Sands, Philippe/ East West Street: On the Origins of "Genocide" and "Crimes Against Humanity" (Apr 2016)/ Philippe Sands - East West Street: On the Origins of "Genocide" and "Crimes Against Humanity" (format_date_field('pubdate', 'yyyy')) format_date(field('pubdate'), 'yyyy') capitalize('asdf')
Any help would be appreciated.