Fixed unicode problem with dates

svn: r590
This commit is contained in:
Don Allingham
2001-11-27 20:36:39 +00:00
parent 5242d4075e
commit 1cd6941323
5 changed files with 632 additions and 708 deletions

View File

@@ -155,6 +155,8 @@ class Date:
return self.start.getYear()
def getMonth(self):
if self.start.month == UNDEF:
return UNDEF
return self.start.month+1
def getDay(self):
@@ -407,6 +409,8 @@ class SingleDate:
self.year = UNDEF
def getMonth(self):
if self.month == UNDEF:
return UNDEF
return self.month + 1
def setDay(self,val):