[Python-checkins] CVS: python/dist/src/Doc/lib emailutil.tex,1.4,1.5

Barry Warsaw bwarsaw@users.sourceforge.net
Fri, 09 Nov 2001 09:08:16 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv546

Modified Files:
	emailutil.tex 
Log Message:
Updated the documentation for formatdate().


Index: emailutil.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/emailutil.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** emailutil.tex	2001/11/05 01:55:03	1.4
--- emailutil.tex	2001/11/09 17:08:13	1.5
***************
*** 106,113 ****
  \end{funcdesc}
  
! \begin{funcdesc}{formatdate}{\optional{timeval}}
! Returns the time formatted as per Internet standards \rfc{2822}
! and updated by \rfc{1123}.  If \var{timeval} is provided, then it
! should be a floating point time value as expected by
! \method{time.gmtime()}, otherwise the current time is used.
  \end{funcdesc}
--- 106,122 ----
  \end{funcdesc}
  
! \begin{funcdesc}{formatdate}{\optional{timeval\optional{, localtime}}}
! Returns a date string as per Internet standard \rfc{2822}, e.g.:
! 
! \begin{verbatim}
! Fri, 09 Nov 2001 01:08:47 -0000
! \end{verbatim}
! 
! Optional \var{timeval} if given is a floating point time value as
! accepted by \function{time.gmtime()} and \function{time.localtime()},
! otherwise the current time is used.
! 
! Optional \var{localtime} is a flag that when true, interprets
! \var{timeval}, and returns a date relative to the local timezone
! instead of UTC, properly taking daylight savings time into account.
  \end{funcdesc}