Bug 24643: Support fractional seconds
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Wed, 12 Feb 2020 16:04:07 +0000 (16:04 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Feb 2020 15:56:34 +0000 (15:56 +0000)
commita8a9512ff671488c703be45fc3d9e92bbdc88b5c
treedc81e85a297e52854d970ba995d51aad61bfb68c
parentac8d6074111103dec0028f68f2da4e8adbe7c663
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>
Koha/DateUtils.pm