Re: [docbook-apps] Re: Current date?

From
Jirka Kosek <>
Date
2003-04-06T13:15:33+00:00
ID
Thread
Re: [docbook-apps] Re: Current date?
Dave Pawson wrote:
> At 12:01 06/04/2003 +0200, Steinar Bang wrote:

>> How about a PI to extract the actual date as inserted by CVS in
>> $Date$, and transform it according to a date specification (as was
>> suggested for the formatting date PI)?
>>
>> One may not wish to reveal that CVS is used as the versioning system,
>> or one may not like CVS' formatting of the date.
> 
> 
> Not bothered *how* its done,
> but I would like a neutral version which inserts the date,
> for whichever reason a user needs?

So what about

<?dbtimestamp format="..."?>

for inserting current date. And

<?dbtimestamp format="..." cvsdate="$Date: ....$"?>

for inserting date taken from CVS tag?

-- 
-----------------------------------------------------------------
   Jirka Kosek  	
   e-mail: 
   http://www.kosek.cz