View Single Post
Old 04-06-2018, 05:27 AM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by compurandom View Post
Might need to write a template function (in python?) to convert the date. I'll look at that when I get a chance, but I was hoping someone else would chime in...
I think you want
Code:
{:'format_date(raw_field('pubdate'), 'yyyyMM')'}
Alternatively
Code:
program: format_date(raw_field('pubdate'), 'yyyyMM')
chaley is offline   Reply With Quote