[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Reproducible dates in HTML/PDF/PS output files?

From: Ralph Corderoy
Subject: Re: [Groff] Reproducible dates in HTML/PDF/PS output files?
Date: Wed, 27 Aug 2014 09:33:46 +0100

Hi Colin,

>  2) Add an option or environment variable or something to suppress the
>  inclusion of timestamps.

Werner's said he's in favour of this approach.  I'd just wonder if the
option of providing a timestamp in the environment variable would also
be useful.  Then user's are free to take it from Mercurial, etc.  The
format(s) should align well with other commands, e.g.

    $ stat -c %Y foo   # Modification time, seconds since the epoch.

date(1) knows a -d date is seconds from the epoch by the leading `@'.
Perhaps the convention can be continued.

    $ date -ud @1367224459
    2013-04-29 08:34:19 +0000 Mon

Cheers, Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]