Made NextYear use Today() + 1
svn: r17547
This commit is contained in:
parent
1ab2656517
commit
521b8fa98d
@ -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
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user