]> git.koha-community.org Git - koha.git/commit
Bug 18330: Handle date-time in Koha::Object->TO_JSON
authorLari Taskula <lari.taskula@jns.fi>
Fri, 24 Mar 2017 13:29:30 +0000 (15:29 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 14 Dec 2017 19:58:22 +0000 (16:58 -0300)
commit54de74c6f67c1caa6e1126ceae7e6d67d6f17e03
tree43d63b2f465f315cf8c340dca1476664146f33db
parentcebadca9c30df1134ec05117f24850a3b66b3c25
Bug 18330: Handle date-time in Koha::Object->TO_JSON

This patch formats timestamps and datetimes to meet date-time definition
in RFC3339, as required by Swagger documentation.

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Object.pm
t/db_dependent/Koha/Object.t