Today() needs to be prefaced with modules, gen.lib.date
svn: r23140
This commit is contained in:
1 parent
3aed22835e
commit
4b76d67c07
1 file changed
+1
-1
+1
-1
@@ -615,7 +615,7 @@ class ProbablyAlive(object):
|
||||
if ev and ev.type.is_death_fallback():
|
||||
death_date = ev.get_date_object()
|
||||
if not death_date.is_valid():
|
||||
death_date = Today() # before today
|
||||
death_date = gen.lib.date.Today() # before today
|
||||
death_date.set_modifier(Date.MOD_BEFORE)
|
||||
|
||||
# If they were born within X years before current year then
|
||||
|
||||
Reference in new issue
Block a user