You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Hodanics, Charles J." <Ch...@jhuapl.edu> on 2007/04/11 15:19:19 UTC
Maven Site Published Time Stamp
I am curious if anyone knows of a way to include the time in the "Last
Published: date" that is created in the header of a generated site.
Thanks,
Charles Hodanics
NSTD-STJ
443-778-3246
RE: Maven Site Published Time Stamp
Posted by Phill Moran <pj...@rogers.com>.
Yes you can add the HH:mm to the end of the format to get the time the site was
generated
-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com]
Sent: April 11, 2007 9:39 AM
To: Maven Users List
Subject: Re: Maven Site Published Time Stamp
On 4/11/07, Hodanics, Charles J. <Ch...@jhuapl.edu> wrote:
> I am curious if anyone knows of a way to include the time in the "Last
> Published: date" that is created in the header of a generated site.
There is an example of changing the position and formatting of the date in the
site plugin docs:
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html
I haven't checked, but my guess is that it follows the usual SimpleDateFormat
rules:
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven Site Published Time Stamp
Posted by Wendy Smoak <ws...@gmail.com>.
On 4/11/07, Hodanics, Charles J. <Ch...@jhuapl.edu> wrote:
> I am curious if anyone knows of a way to include the time in the "Last
> Published: date" that is created in the header of a generated site.
There is an example of changing the position and formatting of the
date in the site plugin docs:
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html
I haven't checked, but my guess is that it follows the usual
SimpleDateFormat rules:
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org