svn: /phpdoc/en/trunk/reference/datetime/functions/ timezone-name-from-abbr.xml
| From: | Adam Harvey | Date: | Mon, 19 Jul 2010 10:13:31 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/functions/ timezone-name-from-abbr.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6894@lists.php.net to get a copy of this message | ||
aharvey Mon, 19 Jul 2010 10:13:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301391
Log:
Fix doc bug #52363 (timezone_name_from_abbr problem) by adding more explanation
of the $isdst parameter.
Bug: http://bugs.php.net/52363 (Assigned)
timezone_name_from_abbr problem
Changed paths:
U phpdoc/en/trunk/reference/datetime/functions/timezone-name-from-abbr.xml
Modified: phpdoc/en/trunk/reference/datetime/functions/timezone-name-from-abbr.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/timezone-name-from-abbr.xml 2010-07-19 09:58:19 UTC
(rev 301390)
+++ phpdoc/en/trunk/reference/datetime/functions/timezone-name-from-abbr.xml 2010-07-19 10:13:31 UTC
(rev 301391)
@@ -42,9 +42,15 @@
<term><parameter>isdst</parameter></term>
<listitem>
<para>
- Daylight saving time indicator. If <parameter>abbr</parameter> doesn't
- exist then the time zone is searched solely by
- <parameter>offset</parameter> and <parameter>isdst</parameter>.
+ Daylight saving time indicator. Defaults to -1, which means that
+ whether the time zone has daylight saving or not is not taken into
+ consideration when searching. If this is set to 1, then the
+ <parameter>gmtOffset</parameter> is assumed to be an offset with
+ daylight saving in effect; if 0, then <parameter>gmtOffset</parameter>
+ is assumed to be an offset without daylight saving in effect. If
+ <parameter>abbr</parameter> doesn't exist then the time zone is
+ searched solely by the <parameter>gmtOffset</parameter> and
+ <parameter>isdst</parameter>.
</para>
</listitem>
</varlistentry>