https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21829
Bug ID: 21829
Summary: Date displays as a datetime in notices
Change sponsored?: ---
Product: Koha
Version: 17.11
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The borrowers.dateexpiry field is a date, not a datetime, yet when it is used
in a notice like MEMBERSHIP_EXPIRY, it displays as a datetime by default with
the "12:00 AM" time ("MM/DD/YYYY 12:00 AM").
Bug 13622 added the option to strip times from datetimes by using a "dateonly"
placeholder like so: <<borrowers.dateexpiry | dateonly>>, but if you use this
option on borrowers.dateexpiry, it fails -- probably because the field is not a
datetime?
<<borrowers.dateexpiry>> outputs "MM/DD/YYYY 12:00 AM".
<<borrowers.dateexpiry | dateonly>> outputs "<>" (a left-angle bracket followed
by right-angle bracket).
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/