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:[EMAIL PROTECTED] 
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. <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to