http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15206
--- Comment #18 from Alex Arnaud <[email protected]> --- (In reply to Alex Arnaud from comment #17) > (In reply to Owen Leonard from comment #16) > > When I try setting a patron's birth date in the patron edit form I get a > > JavaScript error: > > > > "NetworkError: 404 Not Found - > > /cgi-bin/koha/svc/members/age?dateofbirth=2015-11-9" > Oops. Sorry, i forgot to commit the script svc/members/age > > > > I also notice that the date I enter isn't the date which is passed in the > > AJAX call. With MM/DD/YYYY as my system's dateformat preference, I've tried > > these: > > > > Typed 01/03/1990, date passed: 1990-0-3 > > Typed 12/13/1970, date passed: 1970-11-13 > > Typed 06/09/2003, date passed: 2003-5-9 > > It's not a pbm. Months start from 0 to 11. But the result is the same. In fact you are right. Since C4::Members::GetAge() use months from 1 to 12 we have an intervall... Fix is coming -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
