Skip to content

Commit cc79d5b

Browse files
committed
DateTimeZone::listIdentifiers improvements
1 parent 1e4fac8 commit cc79d5b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

reference/datetime/datetimezone/listidentifiers.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>countryCode</parameter><initializer>&null;</initializer></methodparam>
2222
</methodsynopsis>
2323
<para>
24-
Return the list of <link xlink:href="https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones">IANA Time Zone identifiers</link>.
24+
Return the list of <link xlink:href="&url.wiki.tzdb.names;">IANA Time Zone identifiers</link>.
2525
</para>
2626

2727
<note>
2828
<para>
2929
It's possible to detect the client (browser) timezone with JavaScript using
30-
<link xlink:href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions#timezone">Intl.DateTimeFormat</link>
31-
or <link xlink:href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal/ZonedDateTime#time_zones_and_offsets">Temporal.ZonedDateTime</link>.
30+
<link xlink:href="&url.js.intl-datetimeformat;">Intl.DateTimeFormat</link> or
31+
<link xlink:href="&url.js.temporal-zoneddatetime;">Temporal.ZonedDateTime</link>.
3232
</para>
3333
</note>
3434

@@ -124,13 +124,12 @@ foreach ($identifiers as $tzid) {
124124
&example.outputs.similar;
125125
<screen>
126126
<![CDATA[
127-
// (Output omitted due to length)
128127
America/Antigua (Whole region)
129128
America/Araguaina (Tocantins)
130129
America/Argentina/Buenos_Aires (Buenos Aires (BA, CF))
131130
America/Argentina/Catamarca (Catamarca (CT), Chubut (CH))
132131
America/Argentina/Cordoba (Argentina (most areas: CB, CC, CN, ER, FM, MN, SE, SF))
133-
// (Output omitted due to length)
132+
// (Output trimmed due to length)
134133
]]>
135134
</screen>
136135
</example>

0 commit comments

Comments
 (0)