[Koha-bugs] [Bug 13622] Display a datetime without time in a notice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 26 17:30:33 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13622

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 35539
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35539&action=edit
Bug 13536: Display a datetime without time in a notice

For some needs, a librarian would like to display a datetime or
timestamp field without the time.

This patch a filter logic in the notice/letter parsing process.

Test plan:
1/ Defined a notice using a datetime or timestamp DB field
(biblio.timestamp for instance).
2/ Generate the notice
3/ Verify that the letter is generated with the time
4/ Use the "dateonly" filter like:
  <<your_table.your_field | dateonly>>
  <<biblio.timestamp | dateonly>>
5/ Generate the notice
6/ Confirm the the letter is generated without the time for this field.

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


More information about the Koha-bugs mailing list