diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2008-04-01 21:36:42 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2008-04-01 21:36:42 +0000 |
commit | 87f4c195efb8c2fc8a4d12a6a6eaed048a2930d8 (patch) | |
tree | 9ff4596ee85beac13b83e7f21cd2348cf7016d41 /bin/compare-testing-status | |
parent | e69d2ee9d0a929839d2d35b8eadc43f24cdac33e (diff) |
localtime is weird and starts counting months with 0
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8464 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/compare-testing-status')
-rwxr-xr-x | bin/compare-testing-status | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/compare-testing-status b/bin/compare-testing-status index 64fd7ab914..77ed9b50b6 100755 --- a/bin/compare-testing-status +++ b/bin/compare-testing-status @@ -12,7 +12,7 @@ my $MAILTO='secure-testing-team@lists.alioth.debian.org'; my $MAILFROM='sf@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"; |