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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2022 16:56:36 +0000 (12:56 -0400)
commit6dab34fe66d41b367141f8e1b96abfe1729d045b
treeb9ff24cf5bd21a43d07a8969ffc81e501f0b0aae
parent052dd948af6eaaaeeb0e83a6950543b4832aeefe
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>
Koha/DateUtils.pm