Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Validator] Remove DateTime support in date/time validators #31679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2019
Merged

[Validator] Remove DateTime support in date/time validators #31679

merged 1 commit into from
May 29, 2019

Conversation

ro0NL
Copy link
Contributor

@ro0NL ro0NL commented May 29, 2019

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT
Doc PR symfony/symfony-docs#...

See #25015

@nicolas-grekas
Copy link
Member

Thank you @ro0NL.

@nicolas-grekas nicolas-grekas merged commit 37c1cbb into symfony:master May 29, 2019
nicolas-grekas added a commit that referenced this pull request May 29, 2019
…ors (ro0NL)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[Validator] Remove DateTime support in date/time validators

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

See #25015

Commits
-------

37c1cbb [Validator] Remove DateTime support in date/time validators
@ro0NL ro0NL deleted the validator branch May 29, 2019 09:40
pbek pushed a commit to digital-blueprint/relay-checkin-bundle that referenced this pull request Feb 1, 2023
@Assert\DateTime no longer accepts DateTime objects, but only strings
in Symfony 5. Instead check the real type.

See symfony/symfony#31679
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants