[Koha] How to restrict datetime to output only date in notices?
Katrin Fischer
Katrin.Fischer.83 at web.de
Sun Jul 5 22:18:03 NZST 2015
Hi Indranil,
there is a bug report with a new feature that would allow to specify
for any date field if the time is printed or not:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13622
Hope this helps,
Katrin
Am 05.07.2015 um 07:21 schrieb Indranil Das Gupta:
> 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
>
More information about the Koha
mailing list