Skip to content

Commit f1714eb

Browse files
committed
minor #11804 Add weeks in the options 'labels' (SulivanDotEu)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #11804). Discussion ---------- Add weeks in the options 'labels' <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Hi there, In the documentation about [DateIntervalType](https://symfony.com/doc/current/reference/forms/types/dateinterval.html#labels), weeks is missing from the code example. I added it to avoid any confusion. It is my first contribution, not very familiar with all the tools. Commits ------- 828ff37 Add weeks in the options 'labels'
2 parents 320a5bb + 828ff37 commit f1714eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reference/forms/types/dateinterval.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ are ``null``, so they display the "humanized version" of the child names (``Inve
146146
'invert' => null,
147147
'years' => null,
148148
'months' => null,
149+
'weeks' => null,
149150
'days' => null,
150151
'hours' => null,
151152
'minutes' => null,

0 commit comments

Comments
 (0)