[Koha-bugs] [Bug 26261] Split calendar.inc into include file and JavaScript file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 27 02:54:30 CEST 2020


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #3 from David Nind <david at davidnind.com> ---
There may be something fishy going on with the changing date formats and the
age calculation on the patron add/edit form.

Before the patch is applied (current master) either when editing or adding, if
you change the date format, refresh the patron add/edit page and change the
date the age shown is not correct:
1. Date format set to mm/dd/yyyy
2. Add new patron (Patrons > New patron)
3. Make birth date 08/01/2020 (1 August 2020), age is shown as 1 month
4. Change the date format to dd/mm/yyyy
5. Add new patron (Patrons > New patron) (refresh the page as well with SHIFT
refresh)
6. Make birth date 08/01/2020 (1 August 2020), age is shown as 8 months
7. Repeat from step 4 AFTER flush_memcached and restart_all
8. Works as expected

I can get it to work correctly by using flush_memcached and restart_all
(koha-testing-docker). However, before the patch was applied this was not
required.

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


More information about the Koha-bugs mailing list