We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5305a4 + a2bd31b commit fac004aCopy full SHA for fac004a
reference/forms/types/date.rst
@@ -156,11 +156,12 @@ values for the year, month and day fields::
156
``calendar``
157
~~~~~~~~~~~~
158
159
-**type**: ``\IntlCalendar`` **default**: ``null``
+**type**: ``integer`` or ``\IntlCalendar`` **default**: ``null``
160
161
The calendar to use for formatting and parsing the date. The value should be
162
-an instance of the :phpclass:`IntlCalendar` to use. By default, the Gregorian
163
-calendar with the application default locale is used.
+an ``integer`` from :phpclass:`IntlDateFormatter` calendar constants or an instance
+of the :phpclass:`IntlCalendar` to use. By default, the Gregorian calendar
164
+with the application default locale is used.
165
166
.. versionadded:: 7.2
167
0 commit comments