Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions reference/forms/types/date.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,12 @@ values for the year, month and day fields::
``calendar``
~~~~~~~~~~~~

**type**: ``\IntlCalendar`` **default**: ``null``
**type**: ``integer`` or ``\IntlCalendar`` **default**: ``null``

The calendar to use for formatting and parsing the date. The value should be
an instance of the :phpclass:`IntlCalendar` to use. By default, the Gregorian
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
with the application default locale is used.

.. versionadded:: 7.2

Expand Down