From: <cl...@us...> - 2002-06-11 21:52:31
|
Update of /cvsroot/todo-manager/todo-manager In directory usw-pr-cvs1:/tmp/cvs-serv12279 Modified Files: Tag: dev-bronze tdm_calendar.py Log Message: The month name is displayed instead of it's numeric value Index: tdm_calendar.py =================================================================== RCS file: /cvsroot/todo-manager/todo-manager/Attic/tdm_calendar.py,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -u -d -r1.1.2.12 -r1.1.2.13 --- tdm_calendar.py 11 Jun 2002 17:18:24 -0000 1.1.2.12 +++ tdm_calendar.py 11 Jun 2002 21:52:28 -0000 1.1.2.13 @@ -72,7 +72,20 @@ def Draw(self): self._yearLabel['text'] = self.year - self._monthLabel['text'] = self.month + self._monthLabel['text'] = ( + 'January', + 'February', + 'March', + 'April', + 'May', + 'June', + 'July', + 'August', + 'September', + 'October', + 'November', + 'December', + )[self.month-1] # Delete all of the old buttons children = self._dateframe.winfo_children() |