[Koha-bugs] [Bug 29402] New: We should add a 'dateonly' switch option to dt_from_string
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 3 12:36:03 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29402
Bug ID: 29402
Summary: We should add a 'dateonly' switch option to
dt_from_string
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
Currently, our dateformat is only 'strict' with the rfc3339 format.
ISO dates may optionally contain a time portion, but that time portion is
incompatible with refc3339 formatted dates. We should add a dateonly option to
dt_from_string so we can explicitly fail if an iso date string is passed with a
time element that we should drop due to a failed match.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list