php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #45658 strtotime GNU Date Input Formats link could be better targetted.
Submitted: 2008-07-30 07:47 UTC Modified: 2008-11-07 09:39 UTC
Votes:2
Avg. Score:4.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: christopher dot jf dot hopper at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: christopher dot jf dot hopper at gmail dot com
New email:
PHP Version: OS:

 

 [2008-07-30 07:47 UTC] christopher dot jf dot hopper at gmail dot com
Description:
------------
The documentation for strtotime has a link for GNU Date Input Formats that points to a URL that returns a "page has moved" message and then jumps to documentation for GNU tar > Chapter 7: Date Input Formats.

This link might be better targetted to point directly to the GNU Coreutils documentation on Date input formats, which is at http://www.gnu.org/software/coreutils/manual/coreutils.html#Date-input-formats

This may also address the issue whereby the link href is often either broken (returns a HTTP RESPONSE 404) or redirected (returns a HTTP RESPONSE 30x) whenever a new version of GNU tar is released.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-30 08:08 UTC] derick@php.net
The GNU date input format is not what we support, so this link is not important.
 [2008-11-06 03:02 UTC] christopher dot jf dot hopper at gmail dot com
You say that the GNU Date Input Format is not what you support, but in the documentation for strtotime at 
http://au.php.net/manual/en/function.strtotime.php 
there is a reference to the GNU Date Input Format under the headings "Parameters", "time" that says:
"The string to parse, according to the GNU >> Date Input Formats  syntax. Before PHP 5.0.0, microseconds weren't allowed in the time, since PHP 5.0.0 they are allowed but ignored."

This paragraph includes a link to documentation on Date Input Formats for the GNU tool Shishi - a Kerberos 5 network authentication system. One assumes that you do not support Shishi either.

Could you please change this link so it points to the documentation for GNU Date Input Formats, which is at:
http://www.gnu.org/software/coreutils/manual/coreutils.html#Date-input-formats 
as this is the most appropriate place to find information on GNU Date Input Formats. Certainly more appropriate than the doco for "tar" or "shishi".
 [2008-11-06 07:56 UTC] derick@php.net
Actually, there is new documentation for this now - but it has not been converted yet to docbook. You can find the latex sources here:

http://files.derickrethans.nl/parser-formats.tex
 [2008-11-07 09:39 UTC] vrana@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Bug #36474.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 05:01:31 2024 UTC