Re: CruiseControl Date of build in GMT

"Hahn, Christopher (SAN DIEGO)" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <92606B0A2E9C0D418FECE7F5B393756C5B77125762@GVW0432EXB.americas.hpqcorp.net>
Yeah, that would be nice too.  ;0)

I just wanted to let you know the technique that we use to work around this.

Chris

From: Bryan Salter [mailto:[email protected]]
Sent: Wednesday, May 04, 2011 11:50 AM
To: [email protected]
Subject: Re: [Cruisecontrol-user] CruiseControl Date of build in GMT

huh?  I just want the Date of build field to be in EST instead of in GMT.

Thanks

Bryan Salter
Configuration Engineer/Senior Programmer Analyst
L.L. Bean
Cell (207)317-6453
Office (207)552-2916


________________________________
From: Hahn, Christopher (SAN DIEGO) [mailto:[email protected]]
Sent: Wednesday, May 04, 2011 2:37 PM
To: [email protected]
Subject: Re: [Cruisecontrol-user] CruiseControl Date of build in GMT
Hello all,

We noticed this and sent the proper flag into the POSIX based
calls that we are using to compute the duration of our builds:

  my $now = Mktime( Today_and_Now($useGmt) );
  $buildTime = $now - $startTime;

(The variable $useGMT is defined as a true value, in the perl sense
on systems whose CC instance we know are using GMT )

Look up Mktime for more info.

Take care,

Christopher

From: Bryan Salter [mailto:[email protected]]
Sent: Wednesday, May 04, 2011 10:41 AM
To: [email protected]
Subject: [Cruisecontrol-user] CruiseControl Date of build in GMT

How do I change the CruiseControl "Date of build" from GMT to EST?

Thanks

Bryan Salter

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
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.