webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

SOUR:DATA:EVEN:DATE requires special edit control

Open ric2016 opened this issue 1 year ago • 0 comments

According to the GEDCOM spec (5.5.1 and 7), this tag (different from all other DATE tags) has a DATE_PERIOD value rather than the more generic DATE_VALUE. (I don't think this restriction is always useful here, but that's a different topic.)

The edit control should restrict inputs accordingly - or at least point this out? I'm not sure how to handle this best, probably use two separate fields 'FROM' and 'TO'?

Definition is

DATE_PERIOD:=
[
FROM <DATE> |
TO <DATE> |
FROM <DATE> TO <DATE>
]

ric2016 avatar Apr 28 '23 16:04 ric2016