Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c5681bf

Browse filesBrowse files
committed
Add more explanations
1 parent b37bc78 commit c5681bf
Copy full SHA for c5681bf

File tree

1 file changed

+8
-3
lines changed
Filter options

1 file changed

+8
-3
lines changed

‎reference/constraints/Timezone.rst

Copy file name to clipboardExpand all lines: reference/constraints/Timezone.rst
+8-3Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,15 @@ identifiers to the ones that belong to that geographical zone:
119119
* ``\DateTimeZone::INDIAN``
120120
* ``\DateTimeZone::PACIFIC``
121121

122-
The special ``\DateTimeZone::ALL`` zone accepts any timezone.
122+
The special ``\DateTimeZone::ALL`` zone accepts any timezone excluding deprecated timezones.
123123

124-
countryCode
125-
~~~~~~~~~~~
124+
The special ``\DateTimeZone::ALL_WITH_BC`` zone accepts any timezone including deprecated timezones.
125+
126+
The special ``\DateTimeZone::PER_COUNTRY`` zone limits the timezones to a certain country. This zone
127+
value must be used in combination with the ``country_code`` option.
128+
129+
country_code
130+
~~~~~~~~~~~~
126131

127132
**type**: ``string`` **default**: ``null``
128133

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.