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 | be707508ac5e092e0929b4a3885263765b47273e (patch) | |
tree | 6d199e868c1baccc2c41353f7db62a8cc118b5cf /bin/compare-testing-status | |
parent | df232c21bf43932d7916c3889de17c46ee5d607d (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"; |