webtrees
webtrees copied to clipboard
SOUR:DATA:EVEN:DATE requires special edit control
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>
]