- Merged changes from FAIL2BAN-0_8

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@622 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.x
Cyril Jaquier 2007-10-06 17:57:50 +00:00
parent 4c2cdb67c7
commit 714aa1f46b
1 changed files with 1 additions and 1 deletions

View File

@ -40,5 +40,5 @@ class DateEpoch(DateTemplate):
dateMatch = self.matchDate(line) dateMatch = self.matchDate(line)
if dateMatch: if dateMatch:
# extract part of format which represents seconds since epoch # 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 return date