Skip to content

Commit

Permalink
Merge branch '7.2' into 7.3
Browse files Browse the repository at this point in the history
* 7.2:
  Allow integer for the calendar option of DateType
  • Loading branch information
javiereguiluz committed Dec 2, 2024
2 parents a5305a4 + a2bd31b commit fac004a
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit fac004a

Please sign in to comment.