Pylons/deform — pull request #90 by tonthon (2012-04-29 21:00:55+00:00)
Title: #86 : fix for dateinput

The commit providess a solution to #86 (for dateinputs only), it contains :

template modifications :
a javascript function has been added to parse the yy-mm-dd format (maybe it should be moved to deform's javascript lib)
a mapping has beend added to allow the use of two input tags (one for display, one for submission : since colander expects an isoformat : yy-mm-dd, user can now change the display format without interfering with the validation process)

widget.py modifications :
get the field value from the appropriate input (date)
enforce the altFormat regarding colander validator (maybe it's not usefull)