[Koha-bugs] [Bug 30705] Age hint on patron form is wrong

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 6 18:24:03 CEST 2022


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
The write_age function seems to be a little buggy... If you pick a date which
is less than one month ago it won't send an age string, so the date format hint
is not replaced. If you pick a date more than one month ago and *then* pick a
date less than one month ago (or you clear the field) the first age will
remain.

The original patch adding the patron's age omitted handling of days, but it
would be nice if it calculated the age in days *if* the date of birth is under
one month ago.

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