WikiTree: Fix birth date not displaying correctly

This commit is contained in:
Przemek Wiech
2020-02-06 13:10:51 +01:00
parent 74e8a19952
commit 21eba112d5

View File

@@ -317,7 +317,7 @@ function convertPerson(person: Person): JsonIndi {
indi.sex = 'F';
}
if (
(person.BirthDate && person.DeathDate !== '0000-00-00') ||
(person.BirthDate && person.BirthDate !== '0000-00-00') ||
person.BirthLocation
) {
const parsedDate = parseDate(