[Koha-bugs] [Bug 9084] Dates in notices should be formatted according to dateformat system preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 30 04:38:01 CEST 2013


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

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17526|0                           |1
        is obsolete|                            |

--- Comment #6 from Mason James <mtj at kohaaloha.com> ---
Created attachment 17827
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17827&action=edit
Bug 9084 - Dates in notices should be formatted according to dateformat system
preference

to test…

- apply patch

- choose a patron to checkout item

- in 'Patron messaging preferences' section, of patrons 'details' page - tick
'email' box for 'Item checkout'
----------------------------------------
Patron messaging preferences
        Days in advance Email
Item checkout   -       x <====
Hold filled     -       -
Item due        -       -
Item check-in   -       -
----------------------------------------

- cut/paste below notice, for CHECKOUT, in 'Home › Tools › Notices & Slips ›
Modify notice'

bib: <<biblio.title>>  due: <<issues.date_due>> issue: <<issues.issuedate>>
return: <<issues.returndate>>

- delete issues and message_queue tables, before test
mysql> truncate issues;
mysql> truncate message_queue;

- issue a test item to patron

- check message_queue table for notice, with correctly formatted dates, with
stripped time

mysql> select content from message_queue\G
content: bib: TESTAMENTS OF LOVE due: 20/05/2013 issue: 30/04/2013 return:
30/04/2013
1 row in set (0.00 sec)

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


More information about the Koha-bugs mailing list