# GEDCOM date‑constraint semantics should not be propagated into Gramps

**URL:** <https://gramps.discourse.group/t/gedcom-date-constraint-semantics-should-not-be-propagated-into-gramps/9282>\
**Category:** Development\
**Tags:** gedcom\
**Created:** [March 29, 2026, 2:21am UTC](https://gramps.discourse.group/t/gedcom-date-constraint-semantics-should-not-be-propagated-into-gramps/9282 "2026-03-29T02:21:13Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![ztlxltl](https://avatars.discourse-cdn.com/v4/letter/z/96bed5/32.png) [@ztlxltl](https://gramps.discourse.group/u/ztlxltl)\
**Post date:** [March 29, 2026, 4:27pm UTC](https://gramps.discourse.group/t/gedcom-date-constraint-semantics-should-not-be-propagated-into-gramps/9282/10 "2026-03-29T16:27:22Z")

</div>

I just want to make sure that everyone in this discussion is aware that the definitions of GEDCOM’s AFT and BEF changed with GEDCOM 7.0. In last August, I wrote the following summary. Please refer to the links for further background info.

> [@Misleading date range labels? (Before, After, Between)](https://gramps.discourse.group/t/misleading-date-range-labels-before-after-between/7250/13):
>
> Modified summary taken from [here](https://github.com/FamilySearch/GEDCOM/discussions/287#discussion-4894586):
> 
> - GEDCOM 5.5.1 ([PDF](https://gedcom.io/specifications/ged551.pdf#page=47)) defined:  
> AFT = Event happened after the given date.  
> BEF = Event happened before the given date.  
> This is **exclusive** and uses the meaning of the words “after” and “before” so the UI matches the standard.
> - GEDCOM 7.0 ([PDF](https://gedcom.io/specifications/FamilySearchGEDCOMv7.pdf#page=26), [HTML](https://gedcom.io/specifications/FamilySearchGEDCOMv7.html#date)) has modified the definition to:  
> AFT x = Exact date unknown, but no earlier than x.  
> BEF x = Exact date unknown, but no later than x.  
> This is **inclusive**.
> - FROM and TO are inclusive in both versions and match the meaning of the words and therfore the UI.

This discussion seems to be based on the phrases “no earlier than” and “no later than” which are used in the GEDCOM 7.0 standard, not in the 5.5.1 standard. Gramps currently doesn’t support GEDCOM 7.0 (please correct me if my state of knowledge is outdated) and was built around the definitions in GEDCOM versions before the change of the meaning of AFT and BEF.

I likely don’t have the time to participate in this discussion in-depth. In my opinion, the logical meaning (in Gramps’ documentation/data field definition, code e.g. for comparison/filters, etc.) should be the same as the meaning of the words in the UI (this is important when translating). GEDCOM exporters and importers should deal with the correct processing according to the GEDCOM version used.

---

_[View the full topic](https://gramps.discourse.group/t/gedcom-date-constraint-semantics-should-not-be-propagated-into-gramps/9282)._
