]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 3 May 2022 19:56:03 +0000 (19:56 +0000)
commit7a1001d8bea4298bc830ebbe2d2a1d6ec5283815
treeeb1bc85b366e81f4ced2893aaa03b46b1e655f26
parent3e42ca76c28e8d4a043fbf4af1e60ad14e4fae73
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 6dab34fe66d41b367141f8e1b96abfe1729d045b)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/DateUtils.pm