[Secure-testing-commits] r8464 - bin

stef-guest at alioth.debian.org stef-guest at alioth.debian.org
Tue Apr 1 21:36:43 UTC 2008


Author: stef-guest
Date: 2008-04-01 21:36:42 +0000 (Tue, 01 Apr 2008)
New Revision: 8464

Modified:
   bin/compare-testing-status
Log:
localtime is weird and starts counting months with 0

Modified: bin/compare-testing-status
===================================================================
--- bin/compare-testing-status	2008-04-01 09:14:10 UTC (rev 8463)
+++ bin/compare-testing-status	2008-04-01 21:36:42 UTC (rev 8464)
@@ -12,7 +12,7 @@
 my $MAILFROM='sf at sfritsch.de';
 
 my @d = localtime(time);
-my $MAILDATE = sprintf("%4d-%02d-%02d", $d[5] + 1900, $d[4], $d[3]);
+my $MAILDATE = sprintf("%4d-%02d-%02d", $d[5] + 1900, $d[4] + 1, $d[3]);
 
 if (@ARGV != 2) {
 	die "usage:\nlist-updates old.db new.deb\n";




More information about the Secure-testing-commits mailing list