]> git.koha-community.org Git - koha.git/commit
Bug 24850: Correctly handle suspended_until for PUT
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Nov 2021 11:05:42 +0000 (12:05 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Nov 2021 14:40:52 +0000 (15:40 +0100)
commiteb017ee239eee3fac407d9d7c205cbf2f04d1d68
tree18514c8615fe71a1b5087e4be3531a2778f7e7ac
parent9d1ad49ec90f5fe110ff6851b4d6e90ecc6ee548
Bug 24850: Correctly handle suspended_until for PUT

if we are passing suspended_until to the body, it should be a rfc3339 (what the spec is expecting)
but $hold->suspend_until will be iso

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/Holds.pm