Doc #80207 [Opn->Csd]: DateTimeZone::getTransitions return array
| From: | phpdocbot@php.net | Date: | Fri, 09 Oct 2020 08:28:12 +0000 |
| Subject: | Doc #80207 [Opn->Csd]: DateTimeZone::getTransitions return array | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17979@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80207&edit=1
ID: 80207
Updated by: phpdocbot@php.net
Reported by: alyssa dot retodo at gmail dot com
Summary: DateTimeZone::getTransitions return array
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Date/time related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=00232074c553aa75f1962b476e844fb2a351152c
Log: Fix #80207: DateTimeZone::getTransitions return array
Previous Comments:
------------------------------------------------------------------------
[2020-10-08 22:23:13] alyssa dot retodo at gmail dot com
Description:
------------
---
From manual page: https://php.net/datetimezone.gettransitions
---
This function returns a "numerically indexed array containing associative array with all
transitions", but there are no further details on the array values. The documentation should
describe the values returned in the array. It took some experimenting to determine that the
'time' value is returned in UTC, as opposed to local time. It might be helpful to others
to detail the other array items as well. For example, it might not be obvious to all that
'ts' = timestamp.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80207&edit=1