cvs: phpdoc /en/reference/datetime/functions date-default-timezone-set.xml

From: Date: Tue, 20 Dec 2005 20:28:19 +0000
Subject: cvs: phpdoc /en/reference/datetime/functions date-default-timezone-set.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969371315@lists.php.net to get a copy of this message
nlopess Tue Dec 20 20:28:19 2005 EDT Modified files: /phpdoc/en/reference/datetime/functions date-default-timezone-set.xml Log: sync with latest CVS: now the function validates the parameter http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml?r1=1.3&r2=1.4&diff_format=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.3 phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.4 --- phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml:1.3 Sat Oct 8 19:35:57 2005 +++ phpdoc/en/reference/datetime/functions/date-default-timezone-set.xml Tue Dec 20 20:28:19 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.date-default-timezone-set"> <refnamediv> <refname>date_default_timezone_set</refname> @@ -45,12 +45,38 @@ </variablelist> </para> </refsect1> - + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - This function always returns &true; (even if the - <parameter>timezone_identifier</parameter> isn't valid). + This function returns &false; if the + <parameter>timezone_identifier</parameter> isn't valid, or &true; + otherwise. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.1.2</entry> + <entry> + The function started to validate the + <parameter>timezone_identifier</parameter> parameter. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> </para> </refsect1>

« previous php.doc (#969371315) next »