[Koha] How to restrict datetime to output only date in notices?
Indranil Das Gupta
indradg at gmail.com
Sun Jul 5 17:21:18 NZST 2015
Hi all,
I'm working on a notice where I need to place issue.date_due. Now,
using <<issues.date_due>> gives the time as well. I want only the date
(without the time).
Looking into C4::Letters, I see this line - $replacedby =
output_pref({ dt => dt_from_string( $replacedby ), dateonly =>
$dateonly });
is there a filter that I can apply?
tia
-idg
--
Indranil Das Gupta
Phone : +91-98300-20971
Blog : http://indradg.randomink.org/blog
IRC : indradg on irc://irc.freenode.net
Twitter : indradg
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.
For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org
More information about the Koha
mailing list