cvs: phpdoc /en/reference/datetime/functions date-default-timezone-set.xml
| From: | Nuno Lopes | Date: | Sat, 08 Oct 2005 19:35:58 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime/functions date-default-timezone-set.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969370526@lists.php.net to get a copy of this message | ||
nlopess Sat Oct 8 15:35:58 2005 EDT
Modified files:
/phpdoc/en/reference/datetime/functions
date-default-timezone-set.xml
Log:
link to the timezones' appendix
expand the error messages (E_STRICT)
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml
diff -u phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.2
phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.3
--- phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.2 Fri Jul 29 14:16:29
2005
+++ phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml Sat Oct 8 15:35:57 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.date-default-timezone-set">
<refnamediv>
<refname>date_default_timezone_set</refname>
@@ -21,7 +21,9 @@
<para>
Since PHP 5.1.0 (when the date/time functions were rewritten), every call
to a date/time function will generate a <constant>E_NOTICE</constant> if
- the timezone isn't valid.
+ the timezone isn't valid, and/or a <constant>E_STRICT</constant> message
+ if using the system settings or the <varname>TZ</varname> environment
+ variable.
</para>
</note>
</refsect1>
@@ -35,7 +37,8 @@
<listitem>
<para>
The timezone identifier, like <literal>UTC</literal> or
- <literal>Europe/Lisbon</literal>
+ <literal>Europe/Lisbon</literal>. The list of valid identifiers is
+ available in the <xref linkend="timezones"/>.
</para>
</listitem>
</varlistentry>