diff --git a/src/gen/lib/date.py b/src/gen/lib/date.py index 43ec315af..7bff4a6eb 100644 --- a/src/gen/lib/date.py +++ b/src/gen/lib/date.py @@ -1746,11 +1746,7 @@ def NextYear(): """ Returns a Date object set to next year """ - import time - next_year = Date() - thisyear = time.localtime(time.time()) - next_year.set_yr_mon_day(thisyear[0]+1, thisyear[1], thisyear[2]) - return next_year + return Today() + 1 #------------------------------------------------------------------------- #