mirror of https://github.com/fail2ban/fail2ban
- Fixed timezone bug with epoch date template. Thanks to Michael Hanselmann
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@618 a942ae1a-1317-0410-a47c-b1dcaea8d605_tent/ipv6_via_aInfo
parent
d885fc786e
commit
9eda9e93c7
|
@ -12,6 +12,8 @@ ver. 0.8.2 (2007/??/??) - stable
|
|||
- Fixed named filter. Thanks to Yaroslav Halchenko
|
||||
- Fixed wrong path for apache-auth in jail.conf. Thanks to
|
||||
Vincent Deffontaines
|
||||
- Fixed timezone bug with epoch date template. Thanks to
|
||||
Michael Hanselmann
|
||||
|
||||
ver. 0.8.1 (2007/08/14) - stable
|
||||
----------
|
||||
|
|
|
@ -40,5 +40,5 @@ class DateEpoch(DateTemplate):
|
|||
dateMatch = self.matchDate(line)
|
||||
if dateMatch:
|
||||
# extract part of format which represents seconds since epoch
|
||||
date = list(time.gmtime(float(dateMatch.group())))
|
||||
date = list(time.localtime(float(dateMatch.group())))
|
||||
return date
|
||||
|
|
Loading…
Reference in New Issue