Bug 24850: Continue to handle default time and daylight saving
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 26 Mar 2020 11:12:26 +0000 (11:12 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Nov 2021 13:57:14 +0000 (14:57 +0100)
commitaf3a6126667784a3511b7487ac6f25166df959be
treeb94843b1ca4adfb26def40d27841a92c2d5a2730
parentef882714e5079db0f9062d9095f49ac7330018a2
Bug 24850: Continue to handle default time and daylight saving

This patch prevents the call to set_time_zone if we are handling a
dateonly datetime string or a DST time

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/DateUtils.pm