[petsc-dev] dates of last change on PETSc web pages

Jed Brown jedbrown at mcs.anl.gov
Tue Mar 20 17:08:51 CDT 2012


On Tue, Mar 20, 2012 at 17:08, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> Most html files are generated and we know their dates:
>
> $ hg log --limit 1 --template '{date|date}' include/petscsnes.h
> Mon Mar 19 22:42:51 2012 -0500
>
> Similarly for inserting the date-string into the non-generated pages.
>

This is useful:

http://hgbook.red-bean.com/read/customizing-the-output-of-mercurial.html#sec:template:filter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120320/ae3f9cb6/attachment.html>


More information about the petsc-dev mailing list