[Koha-bugs] [Bug 24643] Koha::DateUtils::dt_from_string rfc3339 cannot handle high precision seconds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 13 14:25:44 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24643

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #98780|0                           |1
        is obsolete|                            |
  Attachment #98781|0                           |1
        is obsolete|                            |

--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 98825
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98825&action=edit
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 at davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list