Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Paul] Time last build took place in a tag: Edit Log

Here is the list of edits for this post
Re: [Paul] Time last build took place in a tag
Dumb question:

This:

Code:


sub {
# returns the time of the last build

my $lastbuild = $CFG->{last_build};

return $lastbuild;

}




Gives me this:

1021135155.83501

I guess date formatting is required?

This is from the time global:

Code:


my ($sec,$min,$hr) = localtime( time + ($Links::CFG->{date_offset} *3600));
return sprintf ("%02d:%02d:%02d", $hr, $min, $sec);
Somthing like with this mixed in it I bet...

Last edited by:

sooke: May 11, 2002, 9:48 AM

Edit Log: