mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
- Merged changes from FAIL2BAN-0_8
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@622 a942ae1a-1317-0410-a47c-b1dcaea8d605
This commit is contained in:
parent
4c2cdb67c7
commit
714aa1f46b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue