#50672 [NEW]: FR: <?dbtimestamp?> support
| From: | hannes dot magnusson at gmail dot com | Date: | Tue, 05 Jan 2010 20:43:34 +0000 |
| Subject: | #50672 [NEW]: FR: <?dbtimestamp?> support | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-3627@lists.php.net to get a copy of this message | ||
From: hannes dot magnusson at gmail dot com
Operating system: Linux
PHP version: Irrelevant
PHP Bug Type: Doc Build problem
Bug description: FR: <?dbtimestamp?> support
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 bug report at http://bugs.php.net/?id=50672&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50672&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50672&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50672&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50672&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50672&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50672&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50672&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50672&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50672&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50672&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50672&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50672&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50672&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50672&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50672&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50672&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50672&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50672&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50672&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50672&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50672&r=mysqlcfg