From cd4f7f0f6733dbd50df62929d14970db46d09915 Mon Sep 17 00:00:00 2001 From: DaveSch-gramps Date: Sun, 10 Oct 2021 13:31:43 -0400 Subject: [PATCH] Update date.py Removes the +1 when the Age precision is set to 1 (Years) and the month is >= 6 Bug #0012422 --- gramps/gen/lib/date.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gramps/gen/lib/date.py b/gramps/gen/lib/date.py index 83917de7281..c8adb85ebcd 100644 --- a/gramps/gen/lib/date.py +++ b/gramps/gen/lib/date.py @@ -429,11 +429,6 @@ def _format(self, diff_tuple, dlocale=glocale): ).format(number_of=diff_tuple[0]) detail += 1 if self.precision == detail: - if diff_tuple[1] >= 6: # round up years - # Translators: leave all/any {...} untranslated - retval = ngettext("{number_of} year", "{number_of} years", - diff_tuple[0] + 1 - ).format(number_of=diff_tuple[0] + 1) return retval if diff_tuple[1] != 0: if retval != "":