Skip to content

Commit b226390

Browse files
committed
Another reword
1 parent 51db96e commit b226390

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

reference/constraints/Timezone.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,16 @@ The value of this option must be a valid `ISO 3166-1 alpha-2`_ country code
103103
intlCompatible
104104
~~~~~~~~~~~~~~
105105

106-
**type**: ``boolean`` **default**: depends on your application
106+
**type**: ``boolean`` **default**: ``false``
107107

108-
If ``false``, only the `PHP timezone identifiers`_ are considered valid. If
109-
``true``, the :ref:`ICU timezones <component-inlt-timezones>` provided by the
110-
Intl component are considered valid too.
108+
This constraint considers valid both the `PHP timezone identifiers`_ and the
109+
:ref:`ICU timezones <component-inlt-timezones>` provided by Symfony's
110+
:doc:`Intl component </components/intl>`
111111

112-
The default value of this option depends on your application. If the
113-
:doc:`Intl component </components/intl>` is available in the application, the
114-
default value is ``true``; otherwise, it's ``false`` by default.
112+
However, the timezones provided by the Intl component can be different from the
113+
timezones provided by PHP's Intl extension because the ICU versions can be
114+
different. If this option is set to ``true``, this constraint also considers
115+
valid any PHP ``\IntlTimeZone`` value.
115116

116117
message
117118
~~~~~~~

0 commit comments

Comments
 (0)