[Zope3-checkins] CVS: StandaloneZConfig/ZConfig/doc - zconfig.pdf:1.22 zconfig.tex:1.106

Barry Warsaw barry at zope.com
Mon Apr 19 09:47:57 EDT 2004


Update of /cvs-repository/StandaloneZConfig/ZConfig/doc
In directory cvs.zope.org:/tmp/cvs-serv7727/ZConfig/doc

Modified Files:
	zconfig.pdf zconfig.tex 
Log Message:
Added the timedelta standard datatype, which is similar to time-interval, but
returns a datetime.timedelta instead of a float.

Added test case and documentation.


=== StandaloneZConfig/ZConfig/doc/zconfig.pdf 1.21 => 1.22 ===
  <Binary-ish file>

=== StandaloneZConfig/ZConfig/doc/zconfig.tex 1.105 => 1.106 ===
--- StandaloneZConfig/ZConfig/doc/zconfig.tex:1.105	Thu Apr 15 16:32:51 2004
+++ StandaloneZConfig/ZConfig/doc/zconfig.tex	Mon Apr 19 09:47:11 2004
@@ -930,6 +930,13 @@
   and may be \samp{s} (seconds), \samp{m} (minutes), \samp{h} (hours),
   or \samp{d} (days).
 
+\term{\datatype{timedelta}}
+  Similar to the \datatype{time-interval}, this data type returns a Python
+  datetime.timedelta object instead of a float.  The set of suffixes
+  recognized by \datatype{timedelta} are: \samp{w} (weeks), \samp{d} (days),
+  \samp{h} (hours), \samp{m} (minutes), \samp{s} (seconds).  Values may be
+  floats, for example: \code{4w 2.5d 7h 12m 0.001s}.
+
 \end{definitions}
 
 




More information about the Zope3-Checkins mailing list