Doc #76981 [Opn]: Not all DateTime methods show up on the right column
| From: | kalle@php.net | Date: | Mon, 08 Oct 2018 18:47:42 +0000 |
| Subject: | Doc #76981 [Opn]: Not all DateTime methods show up on the right column | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16058@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76981&edit=1
ID: 76981
Updated by: kalle@php.net
Reported by: teo8976 at gmail dot com
Summary: Not all DateTime methods show up on the right column
Status: Open
Type: Documentation Problem
Package: Website problem
PHP Version: 7.3.0RC2
Block user comment: N
Private report: N
New Comment:
Thats an interesting one, as the methods in question is documented under DateTimeInterface, perhaps
we should just move them around so they are documented at DateTime where they actually belong.
Previous Comments:
------------------------------------------------------------------------
[2018-10-07 17:25:01] teo8976 at gmail dot com
Description:
------------
---
http://php.net/manual/en/datetime.construct.php
---
Test script:
---------------
Visit any of these:
http://php.net/manual/en/datetime.setdate.php
http://php.net/manual/en/datetime.construct.php
http://php.net/manual/en/datetime.settimestamp.php
etc., that is, the documentation page for any of the methods of the class DateTime
Expected result:
----------------
While navigating in any of the abovementioned pages (about each of the class methods), all the class
methods should be listed in the right column of the page.
Actual result:
--------------
Quite a few methods are missing:
diff()
format()
getOffset()
getTimestamp()
getTimezone()
They can be found here:
http://php.net/manual/en/class.datetime.php
in the body of the page
Incidentally, the ones that are missing from the right column are listed out of alphabetical order
at http://php.net/manual/en/class.datetime.php.
I wonder if that's a coincidence.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76981&edit=1