Question about Limits in Preferences

I have a question about the application of the Limits in Edit > Preferences.

If I set the Date ‘about’, ‘after’ and ‘before’ year range to 1, and then in the People view choose a Filter of Birth date “before 1900” I get people with birth dates in 1899 (expected), about 1900 (=date+1,expected), about 1898 (= date-1,expected) and about 1897 (not expected).

Why do I get people with the about 1897 birth dates?

If I choose a Filter Birth date of “between 1890 and 1900” I only get people with expected birth dates (of about 1889 and about 1901).

Thanks
Tony

Gramps 5.2.3 on Fedora Linux 41 Gnome

When I was first experimenting with the limits and what they mean to Gramps, both when applied to events and to filtering, I noticed this quirk. I wanted my limits to be 5 years. When applying filters, dates 6 years out would return as valid. You are seeing an actual 2 year spread when you set the limit to 1. I made the adjustment setting “about” to 4 years. Unfortunately, limits cannot be set lower than 1.

If you convert the approximations with ±1 limits, then :

  1. “before 1900” becomes “from 0 Jan 1899 to 0 Jan 1900”
  2. “about 1897” becomes “from 1 Jan 1896 to 31 Dec 1898”

I would expect the approximations intersect at the stroke of Midnight between the 2 years.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.