Author: ianb
Date: 2006-09-27 15:24:23 -0600 (Wed, 27 Sep 2006)
New Revision: 1954

Modified:
   FormEncode/trunk/formencode/validators.py
Log:
Updated DateConverter docstring

Modified: FormEncode/trunk/formencode/validators.py
===================================================================
--- FormEncode/trunk/formencode/validators.py   2006-09-26 14:36:15 UTC (rev 
1953)
+++ FormEncode/trunk/formencode/validators.py   2006-09-27 21:24:23 UTC (rev 
1954)
@@ -1547,10 +1547,11 @@
     dd-mm-yy, etc, always assumes month comes second value is the
     month.
 
-    Accepts English month names, also abbreviated.  Returns value as
-    mx.DateTime object.  Two year dates are assumed to be within
-    1950-2020, with dates from 21-49 being ambiguous and signaling an
-    error.
+    Accepts English month names, also abbreviated.  Returns value as a
+    datetime object (you can get mx.DateTime objects if you use
+    ``datetime_module='mxDateTime'``).  Two year dates are assumed to
+    be within 1950-2020, with dates from 21-49 being ambiguous and
+    signaling an error.
 
     Use accept_day=False if you just want a month/year (like for a
     credit card expiration date).


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs

Reply via email to