[Koha-bugs] [Bug 19222] Why does dt_from_string not understand yyyy-mm-ddThh:mm:ss ?
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 31 14:49:19 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19222
--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 66669
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66669&action=edit
Bug 19222: Why does dt_from_string not understand yyyy-mm-ddThh:mm:ss?
dt_from_string disregards the time part when there is a T before it.
But note that if you print a datetime it actually prints that T.
Like: 2017-08-31T13:32:37
A small regex adjustment could be helpful.
Test plan:
Run t/DateUtils.t
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list