Re: time incorrect on CC 2.8.1 notification emails

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
I believe that timestamp you're seeing is in GMT. Brisbane is GMT+10
and 2:33 pm - 10 = 04:33 am.

Why is the date being recorded in GMT?  Now that's a very good
question but I don't know the answer.  Looking the code I'm not sure
either. Looking at header.xsl the value comes from the builddate
property. Looking at Project.getProjectPropertyElement(Date) I see
that the builddate value is formated using
DateUtil.formatIso8601(Date).  But looking at
DateUtil.formatIso8601(Date) it is NOT using a formatter set to GMT
that I can see.

Anyone else see what I'm missing?

Jtf

-- 
 Free hour of CI consulting: http://the.ci-guys.com


On Tue, Feb 3, 2009 at 9:43 PM, Vang Nguyen <[email protected]> wrote:
> On my CC 2.8.1 instaIlation the time values in the notification emails seem
> to be 2 hrs ahead and not in 24 hr format with no way of distinguishing am
> or pm.  Eg:
>
> Date of build: 2009-02-04T04:38:06
>
> Time to build: 9 minutes 33 seconds
>
> Last changed: 2009-02-04T04:33:06
>
> The Last changed time above should be 02:33:06 pm.  Since the removal of the
> dateformat how can we distinguish between am and pm?  What might be causing
> the 2hr difference?  I've check the time zone settings on the server and
> they are correct.
>
> Thanks.
>
> Vang Nguyen
>
> Build Coordinator | DISQIS Project | Shared Information Solutions
> ph 07 3234 0727| Fax 07 3405 6709
>
> [email protected]
> Level 16, 80 Albert Street | Brisbane QLD 4000|
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.