mirror of https://github.com/fail2ban/fail2ban
- Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276.
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@729 a942ae1a-1317-0410-a47c-b1dcaea8d605_tent/ipv6_via_aInfo
parent
abd061bad8
commit
3155bc8f03
|
@ -35,6 +35,8 @@ ver. 0.8.4 (2008/??/??) - stable
|
||||||
Debian bug #513953.
|
Debian bug #513953.
|
||||||
- Changed <HOST> template to be more restrictive. Debian bug
|
- Changed <HOST> template to be more restrictive. Debian bug
|
||||||
#514163.
|
#514163.
|
||||||
|
- Use timetuple instead of utctimetuple for ISO 8601. Maybe
|
||||||
|
not a 100% correct fix but seems to work. Tracker #2500276.
|
||||||
|
|
||||||
ver. 0.8.3 (2008/07/17) - stable
|
ver. 0.8.3 (2008/07/17) - stable
|
||||||
----------
|
----------
|
||||||
|
|
|
@ -187,5 +187,5 @@ class DateISO8601(DateTemplate):
|
||||||
if dateMatch:
|
if dateMatch:
|
||||||
# Parses the date.
|
# Parses the date.
|
||||||
value = dateMatch.group()
|
value = dateMatch.group()
|
||||||
date = list(iso8601.parse_date(value).utctimetuple())
|
date = list(iso8601.parse_date(value).timetuple())
|
||||||
return date
|
return date
|
||||||
|
|
Loading…
Reference in New Issue