[Koha-bugs] [Bug 19222] New: 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:36:05 CEST 2017


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

            Bug ID: 19222
           Summary: Why does dt_from_string not understand
                    yyyy-mm-ddThh:mm:ss ?
 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: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org

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.

-- 
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