From 5924d7a0d74b31f4c71157f9c62ebfd5b1dc35e7 Mon Sep 17 00:00:00 2001 From: eldy <> Date: Mon, 3 Dec 2001 23:29:44 +0000 Subject: [PATCH] no message --- wwwroot/cgi-bin/awstats.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index d35bfa31..e416e56f 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -93,7 +93,7 @@ $color_h, $color_k, $color_link, $color_p, $color_s, $color_u, $color_v, $color_ %monthlib = %monthnum = (); -$VERSION="3.2 (build 74)"; +$VERSION="3.2 (build 75)"; $Lang="en"; # Default value @@ -443,6 +443,7 @@ sub Read_Config_File { $olderwday++; if ($olderdaymod <= $olderwday) { if (($olderwday != 7) || ($olderdaymod != 0)) { $olderweekofmonth=$olderweekofmonth+1; } } if ($olderdaymod > $olderwday) { $olderweekofmonth=$olderweekofmonth+2; } + $olderweekofmonth = "0$olderweekofmonth"; if ($olderyear < 100) { $olderyear+=2000; } else { $olderyear+=1900; } $oldersmallyear=$olderyear;$oldersmallyear =~ s/^..//; if (++$oldermonth < 10) { $oldermonth = "0$oldermonth"; } @@ -1697,6 +1698,7 @@ $nowdaymod=$nowday%7; $nowwday++; if ($nowdaymod <= $nowwday) { if (($nowwday != 7) || ($nowdaymod != 0)) { $nowweekofmonth=$nowweekofmonth+1; } } if ($nowdaymod > $nowwday) { $nowweekofmonth=$nowweekofmonth+2; } +$nowweekofmonth = "0$nowweekofmonth"; if ($nowyear < 100) { $nowyear+=2000; } else { $nowyear+=1900; } $nowsmallyear=$nowyear;$nowsmallyear =~ s/^..//; if (++$nowmonth < 10) { $nowmonth = "0$nowmonth"; } -- 2.47.3