File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,16 @@ The value of this option must be a valid `ISO 3166-1 alpha-2`_ country code
103
103
intlCompatible
104
104
~~~~~~~~~~~~~~
105
105
106
- **type **: ``boolean `` **default **: depends on your application
106
+ **type **: ``boolean `` **default **: `` false ``
107
107
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 >`
111
111
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.
115
116
116
117
message
117
118
~~~~~~~
You can’t perform that action at this time.
0 commit comments