Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove date filtering on date elements #5343

Closed
wants to merge 1 commit into from

2 participants

@mpalourdio

According to #4889 , this PR removes the date filter on the related form elements.

This can be BC break for those who (can) use this filter on form submission. The validator is still ok according to the format option.

@weierophinney weierophinney referenced this pull request from a commit
@weierophinney weierophinney [#5343] Added note to README
- indicating change
106c73d
@weierophinney weierophinney closed this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/5343'
Close #5343
Fixes #4889
4641bb1
@mpalourdio mpalourdio referenced this pull request in doctrine/DoctrineORMModule
Closed

Default form elements filters overriden #282

@mpalourdio mpalourdio deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 24, 2013
  1. @mpalourdio
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 6 deletions.
  1. +0 −6 library/Zend/Form/Element/DateTime.php
View
6 library/Zend/Form/Element/DateTime.php
@@ -187,12 +187,6 @@ public function getInputSpecification()
'required' => true,
'filters' => array(
array('name' => 'Zend\Filter\StringTrim'),
- array(
- 'name' => 'Zend\Filter\DateTimeFormatter',
- 'options' => array(
- 'format' => $this->getFormat(),
- )
- )
),
'validators' => $this->getValidators(),
);
Something went wrong with that request. Please try again.