Made NextYear use Today() + 1

svn: r17547
This commit is contained in:
Doug Blank 2011-05-21 22:06:40 +00:00
parent 1ab2656517
commit 521b8fa98d

View File

@ -1746,11 +1746,7 @@ def NextYear():
""" """
Returns a Date object set to next year Returns a Date object set to next year
""" """
import time return Today() + 1
next_year = Date()
thisyear = time.localtime(time.time())
next_year.set_yr_mon_day(thisyear[0]+1, thisyear[1], thisyear[2])
return next_year
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #