View Single Post
Old 04-08-2024, 08:08 AM   #4
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by flasunco View Post
Thank you very much for the help. Seems I must have missed the different modes when using the functions.

One problem left: using
Code:
({pubdate:format_date('yyyy')})
the year is output as a string including the apostrophes:
Code:
('2016')
To get rid of the apostrophes, I've tried format_number(), without success though.

Thanks in advance.
Just remove the apostrophes in the format_date() call.
chaley is offline   Reply With Quote