File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,20 @@ values for the year, month and day fields::
155
155
156
156
.. include :: /reference/forms/types/options/view_timezone.rst.inc
157
157
158
+ ``calendar ``
159
+ ~~~~~~~~~~~~
160
+
161
+ **type **: ``\IntlCalendar `` | ``int `` **default **: ``null ``
162
+
163
+ The calendar to use for formatting and parsing the date. The value should be
164
+ one of the :phpclass: `IntlDateFormatter ` calendar constants or an instance of
165
+ the :phpclass: `IntlCalendar ` to use. By default, the application default locale
166
+ calendar is used.
167
+
168
+ .. versionadded :: 7.2
169
+
170
+ The ``calendar `` option was introduced in Symfony 7.2.
171
+
158
172
.. include :: /reference/forms/types/options/date_widget.rst.inc
159
173
160
174
.. include :: /reference/forms/types/options/years.rst.inc
You can’t perform that action at this time.
0 commit comments