TheGeneGenieProject / GeneGenie.Gedcom

A .Net library for loading, saving, working with and analysing family trees stored in the GEDCOM format.
GNU Affero General Public License v3.0
52 stars 23 forks source link

Gedcom7 format Date parsing error #118

Open HolyOne opened 1 year ago

HolyOne commented 1 year ago

I only get this error from Gedcom7 format. I took a screenshot with some variables in the watch window.

image

I can load the file try catching this function contents. but I have errors on dates of course

RyanONeill1970 commented 1 year ago

To save me a bit of time, can you send an anonymised version of the file that causes this to me or attach here please?

HolyOne commented 1 year ago

This small sample file contains divorced, annulled dates and some span and either/or dates. I exported it in gedcom7 using MyFamilyTree applicaiton

SampleDates.zip

RyanONeill1970 commented 1 year ago

Thanks again. Gedcom 7 had completely passed me by somehow. I think I should now work towards making this library v7 compliant as it will remove a lot of cruft.

HolyOne commented 1 year ago

Yess I tried to fork and fix it but it is too low level for me =)