TheCelavi/dmDateTimePickerPlugin — pull request #4 by cedel1 (2011-12-15 02:17:29+00:00)
Title: Retaining css classes of the original sf form widget

The commit message says it almost all. It has the advantage of keeping the automatic .required css class for required fields and .has_error css class for fields that didn't validate (for example, being empty).

Symfony widget sfWidgetFormDateTime seems to have a small error in not rendering these, albeit the fix seems to be simple. This commit includes the code even for this widget (in case it gets fixed), and it breaks nothing in case it won't be fixed.