[Koha-bugs] [Bug 28351] New: Cannot set restrictions when dateformat is other than mm/dd/yyyy

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 13 20:05:50 CEST 2021


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

            Bug ID: 28351
           Summary: Cannot set restrictions when dateformat is other than
                    mm/dd/yyyy
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

Format is not correctly applied, so any date that doesn't parse well as
mm/dd/yyyy is reset to current date.

To reproduce:
0. Set dateformat to mm/dd/yyyy
1. Go to a patron detail page
2. Open the 'Restrictions' tab
3. Choose a future date in which the day is higher than 12
=> SUCCESS: The input has the date we chose
4. Set dateformat to dd/mm/yyyy
5. Repeat 3
=> FAIL: It sets the current date, the browser console shows an error.

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


More information about the Koha-bugs mailing list