svn: /phpdoc/en/trunk/ language-snippets.ent reference/datetime/timezones.xml
| From: | Christoph Michael Becker | Date: | Thu, 23 Jun 2016 17:03:25 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/datetime/timezones.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14238@lists.php.net to get a copy of this message | ||
cmb Thu, 23 Jun 2016 17:03:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339461
Log:
Add warning regarding volatility of timezone abbreviations
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/datetime/timezones.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2016-06-23 16:30:38 UTC (rev 339460)
+++ phpdoc/en/trunk/language-snippets.ent 2016-06-23 17:03:25 UTC (rev 339461)
@@ -729,6 +729,12 @@
<literal>Australia/Perth</literal> for the above examples.
</simpara>'>
+<!ENTITY date.timezone.abbrev-volatile '<simpara xmlns="http://docbook.org/ns/docbook">
+These timezone abbreviations have to be regarded as highly volatile, i.e. they
+might be different for each timezonedb release, and should not be relied upon.
+It is strongly recommended to avoid timezone abbreviations.
+</simpara>'>
+
<!ENTITY date.timezone.errors.description '<para xmlns="http://docbook.org/ns/docbook">
Every call to a date/time function will generate a <constant>E_NOTICE</constant>
if the time zone is not valid, and/or a <constant>E_STRICT</constant>
Modified: phpdoc/en/trunk/reference/datetime/timezones.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/timezones.xml 2016-06-23 16:30:38 UTC (rev 339460)
+++ phpdoc/en/trunk/reference/datetime/timezones.xml 2016-06-23 17:03:25 UTC (rev 339461)
@@ -1516,6 +1516,9 @@
</tbody>
</tgroup>
</table>
+ <warning>
+ &date.timezone.abbrev-volatile;
+ </warning>
</sect1>
</appendix>