Skip to content

Commit c5681bf

Browse files
committed
Add more explanations
1 parent b37bc78 commit c5681bf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

reference/constraints/Timezone.rst

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy