From 21eba112d58398624d8fe0df6e11258fe05b969a Mon Sep 17 00:00:00 2001 From: Przemek Wiech Date: Thu, 6 Feb 2020 13:10:51 +0100 Subject: [PATCH] WikiTree: Fix birth date not displaying correctly --- src/wikitree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wikitree.ts b/src/wikitree.ts index 898b903..ac24c85 100644 --- a/src/wikitree.ts +++ b/src/wikitree.ts @@ -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(