]> git.koha-community.org Git - koha.git/commit
Bug 24850: Correct offset handling in dt_from_string
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 11 Mar 2020 15:59:19 +0000 (15:59 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 2 Nov 2021 13:57:13 +0000 (14:57 +0100)
commit1059303f90eaedbca76f3491a2b6b008a77abdc5
treeaf9f847fe9cef9cbc874f836a3bc8fc5999b0e23
parentd8d33c0e1b71168920a2302d012ffef2b3c1b08b
Bug 24850: Correct offset handling in dt_from_string

This patch adds correct handling for when an offset is passed within an
RFC3339 formatted datetime.

Test plan
1/ Run the DateUtils test and varify it now passes.

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