Doc #80207 [NEW]: DateTimeZone::getTransitions return array

From: Date: Thu, 08 Oct 2020 22:23:13 +0000
Subject: Doc #80207 [NEW]: DateTimeZone::getTransitions return array
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17978@lists.php.net to get a copy of this message
From: alyssa dot retodo at gmail dot com Operating system: PHP version: Irrelevant Package: Date/time related Bug Type: Documentation Problem Bug description:DateTimeZone::getTransitions return array 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 bug report at https://bugs.php.net/bug.php?id=80207&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80207&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80207&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80207&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80207&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80207&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80207&r=support Expected behavior: https://bugs.php.net/fix.php?id=80207&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80207&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80207&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80207&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80207&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80207&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80207&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80207&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80207&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80207&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80207&r=mysqlcfg

« previous php.doc.bugs (#17978) next »