30 Apr
2019
30 Apr
'19
3:51 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22805 --- Comment #2 from Barton Chittenden <barton@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #1)
Do you have a specific use case? :)
Koha::DateUtils considers that years are formed by 4 digits, 986 is not correctly parsed.
Jonathan, If you enter the date date of birth as '02/26/0986' *in memberentry.pl* it gets saved as '0986-02-26' in the database. Somewhere in the process of loading that into Koha::DateUtils, the leading 0 is lost, which causes the crash -- '0986' is obviously a typo of '1986', and that's causing the crash. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.