[Koha-bugs] [Bug 28809] New: Patron age calculated incorrectly after changing dateformat syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 3 21:34:46 CEST 2021


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

            Bug ID: 28809
           Summary: Patron age calculated incorrectly after changing
                    dateformat syspref
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

To recreate:
- change the dateformat syspref (I was on MM/DD/YYYY and changed to YYYY-MM-DD)
- click to edit a patron record
- select yesterday for patron's date of birth
- note the text that appears under DOB to tell you the patron's age is
something entirely wrong

This is only an issue with the age as it appears on the edit page. Koha
calculates the age correctly on save and correctly enforces category age
limits.

Dateformat is getting cached somewhere. I was able to correct it by restarting
memcached and plack, but that shouldn't be needed.

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