[Koha-bugs] [Bug 11244] notices ignoring the dateformat preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 20 04:00:14 CET 2014


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

David Cook <dcook at prosentient.com.au> changed:

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

--- Comment #13 from David Cook <dcook at prosentient.com.au> ---
Created attachment 24557
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24557&action=edit
Bug 11244: notices ignoring the dateformat preference

Overdue notices are using the MySQL date format and not the dateformat
in the system preferences.

Test Plan:
1) Enable checkout notices for a patron, make sure the date due is in
   the notice.
2) Check out an item to that patron, note the date is in the mysql
   datetime format
3) Apply this patch
4) Check out another item to the patron, not the date is now in the
   preferred date format.

Signed-off-by: David Cook <dcook at prosentient.com.au>

I love this patch! It is the best solution to this problem that I've
seen. I think it is set up to perfectly handle dates in the notices.

Unfortunately, the $dateonly flag is backwards, so the time is stripped
from timestamps and 00:00:00 is added to dates without times.

I'm adding a follow-up to reverse the setting of this flag.

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


More information about the Koha-bugs mailing list