mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-04-20 21:46:17 +00:00
WikiTree: Fix birth date not displaying correctly
This commit is contained in:
@@ -317,7 +317,7 @@ function convertPerson(person: Person): JsonIndi {
|
|||||||
indi.sex = 'F';
|
indi.sex = 'F';
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
(person.BirthDate && person.DeathDate !== '0000-00-00') ||
|
(person.BirthDate && person.BirthDate !== '0000-00-00') ||
|
||||||
person.BirthLocation
|
person.BirthLocation
|
||||||
) {
|
) {
|
||||||
const parsedDate = parseDate(
|
const parsedDate = parseDate(
|
||||||
|
|||||||
Reference in New Issue
Block a user