[Python-checkins] CVS: python/nondist/sandbox/datetime datetime.py,1.54,1.55
Fred L. Drake
fdrake@users.sourceforge.net
Tue, 05 Mar 2002 20:10:39 -0800
Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory usw-pr-cvs1:/tmp/cvs-serv2888
Modified Files:
datetime.py
Log Message:
Fix up a docstring.
Index: datetime.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/datetime.py,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** datetime.py 6 Mar 2002 01:25:13 -0000 1.54
--- datetime.py 6 Mar 2002 04:10:37 -0000 1.55
***************
*** 701,710 ****
def isoformat(self):
! """Return the time formatted according to ISO.
This is 'YYYY-MM-DD'.
-
- Optional argument sep specifies the separator between date and
- time, default 'T'.
"""
return "%04d-%02d-%02d" % (self.__year, self.__month, self.__day)
--- 701,707 ----
def isoformat(self):
! """Return the date formatted according to ISO.
This is 'YYYY-MM-DD'.
"""
return "%04d-%02d-%02d" % (self.__year, self.__month, self.__day)