Skip to content

[Form] Allow integer for the calendar option of DateType #59014

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
Nov 27, 2024

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Underlying mechanisms support integers for the calendar, so integers should be allowed in the form type option.

Spotted by @stof in #57960 (comment)

@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit 59ceb58 into symfony:7.2 Nov 27, 2024
9 of 10 checks passed
@fabpot fabpot mentioned this pull request Nov 29, 2024
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Dec 2, 2024
…e` (MrYamous)

This PR was merged into the 7.2 branch.

Discussion
----------

[Form] Allow integer for the calendar option of `DateType`

Completes #20145 after [code PR](symfony/symfony#59014)

Commits
-------

2083dc2 Allow integer for the calendar option of DateType
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.

5 participants