#50672 [Opn->Csd]: FR: <?dbtimestamp?> support
| From: | bjori@php.net | Date: | Wed, 06 Jan 2010 17:37:00 +0000 |
| Subject: | #50672 [Opn->Csd]: FR: <?dbtimestamp?> support | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3631@lists.php.net to get a copy of this message | ||
ID: 50672
Updated by: bjori@php.net
Reported By: hannes dot magnusson at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Doc Build problem
Operating System: Linux
PHP Version: Irrelevant
-Assigned To:
+Assigned To: moacir
New Comment:
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.
Thank you for the report, and for helping us make PHP.net better.
Fixed in r293178
Previous Comments:
------------------------------------------------------------------------
[2010-01-05 20:43:33] hannes dot magnusson at gmail dot com
Description:
------------
There exists a neat PI to generate date/time stamps[1].
Zend Framework already use it for their documentations, and it could
replace the newly-introduced entity trick[2].
Worth looking into.
NOTE: Docbook-XSL supports several format characters, but these do not
match the date() format characters (see for example the 'S'
character)!
We should probably only implements the chars defined in the "spec",
using some sort of "lookup array" from the dbtimestamp format character
to date() format character.
[1] http://www.sagehill.net/docbookxsl/Datetime.html
[2] http://svn.php.net/viewvc?view=revision&revision=293139
Reproduce code:
---------------
<para>This document was generated <?dbtimestamp format="Y"?>.</para>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50672&edit=1