diff options
Diffstat (limited to 't')
-rw-r--r-- | t/perf-nntpd.t | 2 |
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 { |