]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Mon, 9 May 2022 21:52:22 +0000 (23:52 +0200)
commit6cf3f3bd55107772c5e860b6a79f991a6e80048c
treef96c34775e5c98b81a10d41576123a83f1a8955e
parentef14fdb18b6ef981285f17c009784c8e2d44ea8d
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>
(cherry picked from commit 7a1001d8bea4298bc830ebbe2d2a1d6ec5283815)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Koha/DateUtils.pm