Commit 59ceb58
committed
This PR was merged into the 7.2 branch.
Discussion
----------
[Form] Allow integer for the `calendar` option of `DateType`
| 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 symfony#57960 (comment)
Commits
-------
5e75bed [Form] Allow integer for the `calendar` option of `DateType`
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments