Bug 20199: Send a DateTime to DBIC instead of an iso formatted date
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Feb 2018 17:17:58 +0000 (14:17 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Feb 2018 16:24:44 +0000 (13:24 -0300)
commit0cd75a0eb28db29779de85e29e4c485dd2dbb6fa
tree1d0d583b666d6b1abb2f647e918e246cd204149b
parent912824a9b187aac7c09d31c91b3c6056e3ec538e
Bug 20199: Send a DateTime to DBIC instead of an iso formatted date

We do not need to format the date, DBIC handles DateTime correctly.

It fixes t/db_dependent/Letters.t with new SQL modes

Test plan:
  prove t/db_dependent/Letters.t
  prove t/db_dependent/Koha/Acquisition/Order.t
Must return green

Signed-off-by: Roch D'Amour <roch.damour@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Acquisition/Order.pm