Commit 5337850
committed
bug #45589 [HttpKernel] Add DateTimeValueResolver (codedmonkey)
This PR was merged into the 6.1 branch.
Discussion
----------
[HttpKernel] Add DateTimeValueResolver
| Q | A
| ------------- | ---
| Branch? | 6.1
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets | #44705
| License | MIT
| Doc PR | symfony/symfony-docs#16562
This PR replaces the [DateTimeParamConverter](https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/master/src/Request/ParamConverter/DateTimeParamConverter.php) from the SensioFrameworkExtraBundle with a value resolver in the Symfony Core.
Note that the behavior of the resolver is enabled by default when using the Symfony framework.
Commits
-------
dcc12280b7 [HttpKernel] Add DateTimeValueResolver1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments