[Koha-bugs] [Bug 27574] Don't use NOW() in Koha::Accounts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 29 14:35:45 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27574

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 116029
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116029&action=edit
Bug 27574: Update \NOW() to dt_from_string for Accounts

This patch replaces all instances of setting the date/timestamp fields
for accounts related tables from the SQL literal \'NOW()' to
Koha::DateUtils dt_from_string so we get properly localised dates.

We also update the unit tests

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


More information about the Koha-bugs mailing list