Skip to content

Commit 6a724b5

Browse files
committed
Try fix for time5
1 parent 31c8dfd commit 6a724b5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wwwroot/cgi-bin/awstats.pl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9138,8 +9138,7 @@ sub DefinePerlParsingFormat {
91389138
$i++;
91399139
push @fieldlib, 'date';
91409140
$PerlParsingFormat .=
9141-
"([^$LogSeparatorWithoutStar]+\\s[^$LogSeparatorWithoutStar]+)"
9142-
; # Need \s for Exchange log files
9141+
"([^$LogSeparatorWithoutStar]+\\s[^$LogSeparatorWithoutStar]+)"; # Need \s for Exchange log files
91439142
}
91449143
elsif ( $f =~ /%time3$/ )
91459144
{ # mon d hh:mm:ss or mon d hh:mm:ss or mon dd hh:mm:ss yyyy or day mon dd hh:mm:ss or day mon dd hh:mm:ss yyyy
@@ -9163,7 +9162,7 @@ sub DefinePerlParsingFormat {
91639162
$i++;
91649163
push @fieldlib, 'tz';
91659164
$PerlParsingFormat .=
9166-
"([^$LogSeparatorWithoutStar]+T[^$LogSeparatorWithoutStar]+)([-+]\d\d:\d\d)";
9165+
"([^$LogSeparatorWithoutStar]+T[^$LogSeparatorWithoutStar]+)([-+]\\d\\d(?::?\\d\\d)?)";
91679166
}
91689167

91699168
# Special for methodurl and methodurlnoprot

0 commit comments

Comments
 (0)