From d102d39ac5781c3e52e377a868d75e27d9aec9c6 Mon Sep 17 00:00:00 2001 From: Stricted Date: Fri, 24 May 2013 21:10:38 +0200 Subject: [PATCH] add automatic year change in copright --- index.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.cgi b/index.cgi index 8b3b872..43b9f18 100644 --- a/index.cgi +++ b/index.cgi @@ -4092,7 +4092,9 @@ sub git_footer_html { } } else { - print "\n"; + my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; + $year += 1900; + print "\n"; print $cgi->a({-href => href(project=>undef, action=>"opml", project_filter => $project_filter), -class => $feed_class}, "OPML") . " "; -- 2.20.1