Bug 13601: Add a fallback check for compability with existing code
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 20 Jan 2015 14:49:39 +0000 (15:49 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 30 Mar 2015 16:40:02 +0000 (13:40 -0300)
commit526df1d126182fed6de94161ce31be87c081da46
treee341d3ebfa0bdb0b435125ec20ca5751980f6400
parent29f3218c521522ee99fc801914f53572e88b73b3
Bug 13601: Add a fallback check for compability with existing code

There are a lot of places where the date comes from the DB but the
dateformat parameter is not set to 'sql'.
dt_from_string needs to fallback with this format if the pref format
does not match.

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