[Debian-l10n-commits] r1034 - /dl10n/trunk/dl10n-nmu

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Wed May 28 22:10:42 UTC 2008


Author: nekral-guest
Date: Wed May 28 22:10:41 2008
New Revision: 1034

URL: http://svn.debian.org/wsvn/?sc=1&rev=1034
Log:
Add generation date for the dl10n-nmu pages.

Modified:
    dl10n/trunk/dl10n-nmu

Modified: dl10n/trunk/dl10n-nmu
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-nmu?rev=1034&op=diff
==============================================================================
--- dl10n/trunk/dl10n-nmu (original)
+++ dl10n/trunk/dl10n-nmu Wed May 28 22:10:41 2008
@@ -13,6 +13,8 @@
 
 use Debian::L10n::Db;
 use Net::LDAP;
+use POSIX qw(strftime);
+my $generation_date = strftime('%a, %d %b %Y %H:%M:%S %z', gmtime);
 
 my $DB_FILE="./data/status";
 my $POPCON="./data/by_inst";
@@ -181,6 +183,8 @@
 }
 
 print FILE "  </table>\n";
+print FILE "  <hr />\n";
+print FILE "  <p><small>Generated on $generation_date</small></p>\n";
 print FILE "</body>\n";
 print FILE "</html>\n";
 close (FILE);
@@ -228,6 +232,8 @@
 }
 
 print FILE "  </table>\n";
+print FILE "  <hr />\n";
+print FILE "  <p><small>Generated on $generation_date</small></p>\n";
 print FILE "</body>\n";
 print FILE "</html>\n";
 close (FILE);




More information about the Debian-l10n-commits mailing list