Fixed error in get_year_calendar
svn: r13761
This commit is contained in:
parent
c78d7f6759
commit
6d245db5fc
@ -1248,7 +1248,8 @@ class Date(object):
|
||||
return self.get_year()
|
||||
else:
|
||||
retval = Date(self)
|
||||
return retval.convert_calendar(cal).get_year()
|
||||
retval.convert_calendar(cal)
|
||||
return retval.get_year()
|
||||
|
||||
def get_new_year(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user