]> git.koha-community.org Git - koha.git/commit
Bug 24643: Support fractional seconds
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Wed, 12 Feb 2020 16:04:07 +0000 (16:04 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 9 Mar 2020 20:06:22 +0000 (20:06 +0000)
commit29fd9216aaec996af88f86f65882f5da81f1b8b3
treeb5046d5ea0327c23a43ced5b4d7b6fff44598320
parent5073a05caafb3598b40384409a02e9885e43c6ab
Bug 24643: Support fractional seconds

This patch allows dt_from_string to handle RFC3339 strings containing
fractional seconds up to one thousandth of a second.

Test plan:

- Apply patch
- prove t/DateUtils.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 07aa0a562b35faaa8d04b479c33cec032ece6464)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/DateUtils.pm