File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ string meant to contain a timezone identifier (e.g. ``America/New_York``):
38
38
/**
39
39
* @Assert\Timezone
40
40
*/
41
- protected $timezone;
41
+ protected $timezone;
42
42
}
43
43
44
44
.. code-block :: yaml
@@ -125,12 +125,13 @@ identifiers to the ones that belong to that geographical zone:
125
125
* ``\DateTimeZone::INDIAN ``
126
126
* ``\DateTimeZone::PACIFIC ``
127
127
128
- The special ``\DateTimeZone::ALL `` zone accepts any timezone excluding deprecated timezones.
129
-
130
- The special ``\DateTimeZone::ALL_WITH_BC `` zone accepts any timezone including deprecated timezones.
128
+ In addition, there are some special zone values:
131
129
132
- The special ``\DateTimeZone::PER_COUNTRY `` zone limits the timezones to a certain country. This zone
133
- value must be used in combination with the ``countryCode `` option.
130
+ * ``\DateTimeZone::ALL `` accepts any timezone excluding deprecated timezones;
131
+ * ``\DateTimeZone::ALL_WITH_BC `` accepts any timezone including deprecated
132
+ timezones;
133
+ * ``\DateTimeZone::PER_COUNTRY `` restricts the valid timezones to a certain
134
+ country (which is defined using the ``countryCode `` option).
134
135
135
136
countryCode
136
137
~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments