This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: Current date?


(Yes, I'm answering mail that's 46 weeks old. Sigh. Maybe if I get caught
up, I'll do better at keeping up?)

/ Steinar Bang <sb@dod.no> was heard to say:
|>>>>> Norman Walsh <ndw@nwalsh.com>:
[...]
|> My own approach to the "today's date" versioning problem is to use a
|> CVS $Date$ somewhere. That way it's automatically updated whenever I
|> checkin a new version of a document.
|
| 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)?

If you put the date in the document, you don't need a PI, you can just
process it when you format the element that contains the date.

There is an extension function (in the website distribution, I think)
that transforms CVS dates into the local timezone (CVS always stores
dates in UTC).

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Doubt is to certainty as neurosis
http://www.oasis-open.org/docbook/ | is to psychosis. The neurotic is
Chair, DocBook Technical Committee | in doubt and has fears about
                                   | persons and things; the psychotic
                                   | has convictions and makes claims
                                   | about them. In short, the neurotic
                                   | has problems, the psychotic has
                                   | solutions.--Thomas Szasz

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]