Issue #1286: Added a missing function left out from the previous commit
Issue #1297: Fixed date handling in pedigre editor