]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Try fix for time5
authorLaurent Destailleur <eldy@destailleur.fr>
Sun, 21 Sep 2014 19:40:16 +0000 (21:40 +0200)
committerLaurent Destailleur <eldy@destailleur.fr>
Sun, 21 Sep 2014 19:40:16 +0000 (21:40 +0200)
wwwroot/cgi-bin/awstats.pl

index eab59417e33c7d832d6aa67f990d64b2f2fdc48e..eb14ae3bcd6d9892bbe749691070dc1879c62d31 100755 (executable)
@@ -9138,8 +9138,7 @@ sub DefinePerlParsingFormat {
                                $i++;
                                push @fieldlib, 'date';
                                $PerlParsingFormat .=
-"([^$LogSeparatorWithoutStar]+\\s[^$LogSeparatorWithoutStar]+)"
-                                 ;                        # Need \s for Exchange log files
+"([^$LogSeparatorWithoutStar]+\\s[^$LogSeparatorWithoutStar]+)";                        # Need \s for Exchange log files
                        }
                        elsif ( $f =~ /%time3$/ )
                        { # 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 {
                                $i++;
                                push @fieldlib, 'tz';
                                $PerlParsingFormat .=
-"([^$LogSeparatorWithoutStar]+T[^$LogSeparatorWithoutStar]+)([-+]\d\d:\d\d)";
+"([^$LogSeparatorWithoutStar]+T[^$LogSeparatorWithoutStar]+)([-+]\\d\\d(?::?\\d\\d)?)";
                        }
 
                        # Special for methodurl and methodurlnoprot