Login to participate
  
Register   Lost ID/password?
The Behold User Forum » Topic           prev Prev   Next next

GEDCOM Date format (again) - Categorized in: Questions and AnswersQuestions and Answers

2 posts. Started 14 Jul 2012 by brett. Latest reply 14 Jul 2012 by lkessler. RSS 2.0 feed for this topic RSS
1. Brett (brett)
Australia flag
Joined: Mon, 12 Jan 2009
36 blog comments, 59 forum posts
Posted: Sat, 14 Jul 2012 Permalink

Louis

Another date query.

What is your (and therefore probably Behold's) interpetation of the following date:

03 Mar 2012

Is it valid or invalid GEDCOM 5.5.1 if it has the leading zero?

Brett

2. Louis Kessler (lkessler)
Canada flag
Joined: Sun, 9 Mar 2003
288 blog comments, 245 forum posts
Posted: Sat, 14 Jul 2012 Permalink

Brett:

DAY := dd { Size 1:2 }
dd is a numeric digit whose value is within the valid range of the days for the associated calendar month.

My interpretation of GEDCOM is that both 03 and 3 are allowed. It does not say that leading zero's are not allowed.

Behold reads both and allows 03 and does not give any message for it. But it does convert the 03 to a 3 internally and always display it without the leading zero. When GEDCOM export is added, it will export it without the leading zero.

Louis

Leave your Reply

You must login to post your reply.

Login to participate
  
Register   Lost ID/password?