[Koha-bugs] [Bug 17975] TT syntax for notices - Prove that HOLD_SLIP is compatible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Feb 25 23:02:35 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17975

--- Comment #2 from Marc Véron <veron at veron.ch> ---
I run into following problem:

Syspref dateformat is dd/mm/yyy
Notice HOLD contains:
[% today | $KohaDates %]

Result: Internal Software Error with:
undef error - The given date (25/02/2017) does not match the date format (iso)
at
(...) DateUtils.pm

No error if:
HOLD contains [% today %] (it displays the date formated following syspref)

No error if:
HOLD contains [% today | $KohaDates %] and  syspref dateformat is changed to
iso (yyy-mm-dd)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list