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

            Bug ID: 29322
           Summary: Date validation can be sketchy
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]

Jonathan found some interesting errors with the date-time validation when
writing extra tests for bug 24850.

Passing:
    "due_date": "2021-10-27 23:59",
Results in:
    => "Does not match date-time"

But passing:
    "due_date": "2021-10-27 23:59:00",
Results in:
    => "Missing property

Shouldn't they both result in:
    => "Does not match date-time"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to