about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-30 22:24:25 +0000
committerEric Wong <e@80x24.org>2019-06-30 22:24:53 +0000
commit0b84d8600368c67080e683e415f7e502a343316b (patch)
treeeccf52cbc71c906800b7f7ff00354a6cea4ce1da /t
parentecea327e3d4386a22652fc08f71ac7d65b8f9b70 (diff)
downloadpublic-inbox-0b84d8600368c67080e683e415f7e502a343316b.tar.gz
20190431 isn't real, NNTP.pm failed to parse it when our
test client sent it.
Diffstat (limited to 't')
-rw-r--r--t/perf-nntpd.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/perf-nntpd.t b/t/perf-nntpd.t
index 3ca1ce33..ce3cc409 100644
--- a/t/perf-nntpd.t
+++ b/t/perf-nntpd.t
@@ -108,7 +108,7 @@ diag "XHDR From ". timestr($t) . " for $n";
 my $date = $ENV{NEWNEWS_DATE};
 unless ($date) {
         my (undef, undef, undef, $d, $m, $y) = gmtime(time - 30 * 86400);
-        $date = sprintf('%04u%02u%02u', $y + 1900, $m, $d);
+        $date = sprintf('%04u%02u%02u', $y + 1900, $m + 1, $d);
         diag "NEWNEWS_DATE undefined, using $date";
 }
 $t = timeit(1, sub {