1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-12-03 22:39:18 +02:00

Closed #209: Dont' use "localtime" for HTML-docs.

The release-date-static var has been added to allow the html footer to use the last release date instead of localtime().
This commit is contained in:
David Steele
2016-06-27 20:37:25 -04:00
parent cc2a8777d5
commit 9516db4ad6
4 changed files with 69 additions and 19 deletions

View File

@@ -120,6 +120,24 @@ sub currentStableVersion
confess &log(ERROR, "unable to find non-development version");
}
####################################################################################################################################
# releaseLast
#
# Get the last release.
####################################################################################################################################
sub releaseLast
{
my $self = shift;
my $oDoc = $self->{oDoc};
foreach my $oRelease ($oDoc->nodeGet('release-list')->nodeList('release'))
{
return $oRelease;
}
}
####################################################################################################################################
# contributorTextGet
#