Date/Time Documentation Missing Information
| From: | TheKarateKid | Date: | Wed, 05 Jun 2019 16:37:11 +0000 |
| Subject: | Date/Time Documentation Missing Information | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969387265@lists.php.net to get a copy of this message | ||
Hello,
I noticed that the Supported Date and Time Formats [
https://www.php.net/manual/en/datetime.formats.php
] section is missing
important information about Time and Date formats that are relevant, but
only documented within the date() [
https://www.php.net/manual/en/function.date.php
] function page.
It is confusing because most of the documentation about the DateTime
class/functions links to the Supported Date and Time Formats page and not
the date() page, so it is not clear that most (if not all) of the formats
from date() work there as well.
I would recommend either mentioning on the "Supported Date and Time
Formats" page that the formats available on the date() page are compatible
and link to the date() page, or include the compatible formatting
information from that page directly in the Supported Date and Time
Formats documentation, specifically the Time Formats page [
https://www.php.net/manual/en/datetime.formats.time.php
] and Date Formats
page [ https://www.php.net/manual/en/datetime.formats.date.php]
.
Thanks to everyone for their contributions to the PHPdocs. In my opinion,
it's one of the best reference manuals I've used on any language.
Regards,
Ralph