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: koha-bugs@lists.koha-community.org Reporter: library@sll.texas.gov QA Contact: testopia@bugs.koha-community.org 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.