]> git.koha-community.org Git - koha.git/commit
Bug 30540: eval on set_time_zone
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Apr 2022 08:14:47 +0000 (09:14 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 20 Apr 2022 07:25:51 +0000 (21:25 -1000)
commit2562727648cbde443a3fac7c475492c6976b5dab
treef420f39a174b6f37a40baafb52d68b3e7909b074
parent5bf08e4d490ff2f970e9c0cece294cdbb198be46
Bug 30540: eval on set_time_zone

This patch adds an eval around the call to set_time_zone so that we
don't crash on invalid local dates and instead just keep the passed
floating timezone.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/DateUtils.pm