Fix issue with DATETIME instead of DATE for Form::TYPE_DATE