[Debian-l10n-commits] r1030 - /dl10n/trunk/dl10n-html

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Wed May 28 20:21:50 UTC 2008


Author: nekral-guest
Date: Wed May 28 20:21:47 2008
New Revision: 1030

URL: http://svn.debian.org/wsvn/?sc=1&rev=1030
Log:
Add a date to the generated HTML pages.

Modified:
    dl10n/trunk/dl10n-html

Modified: dl10n/trunk/dl10n-html
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-html?rev=1030&op=diff
==============================================================================
--- dl10n/trunk/dl10n-html (original)
+++ dl10n/trunk/dl10n-html Wed May 28 20:21:47 2008
@@ -28,6 +28,7 @@
 use LWP::UserAgent;
 use Debian::L10n::Html;
 use File::Path;
+use POSIX qw(strftime);
 
 
 my $progname = $0;
@@ -200,12 +201,16 @@
 
 EOF
 	;
+	my $date = strftime('%a, %d %b %Y %H:%M:%S %z', gmtime);
 	my $tail = <<EOF
 
 <hr />
 
 <p>
 <small>Comments: <a href='mailto:thomas.huriaux\@gmail.com'>Thomas Huriaux</a></small>
+</p>
+<p>
+<small>Generated on $date</small>
 </p>
 
 </body>




More information about the Debian-l10n-commits mailing list