Bug 13601: The fallback regex should contain the time part
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 17 Mar 2015 08:44:30 +0000 (09:44 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 30 Mar 2015 16:40:07 +0000 (13:40 -0300)
commitdc1eb56edf50c90a6f9504a4735fbbfee3519f2d
treebc9dd82fa9d5b166ad82f6ad180d4dc6fcf1cd1d
parent304ad760a369f35554a02535caa8d740ef8b25b3
Bug 13601: The fallback regex should contain the time part

On displaying a sql date, if the dateformat is not set to sql, the
output should contain the date.
In the previous version, the fallback regex (used for sql format) did not
included the time part (hh:mm:ss).

Checked out an item with due date an ddue time. Time displays as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Koha/DateUtils.pm
t/DateUtils.t