- 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
Cyril Jaquier 16 years ago
parent abd061bad8
commit 3155bc8f03

@ -35,6 +35,8 @@ ver. 0.8.4 (2008/??/??) - stable
Debian bug #513953.
- Changed <HOST> template to be more restrictive. Debian bug
#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
----------

@ -187,5 +187,5 @@ class DateISO8601(DateTemplate):
if dateMatch:
# Parses the date.
value = dateMatch.group()
date = list(iso8601.parse_date(value).utctimetuple())
date = list(iso8601.parse_date(value).timetuple())
return date

Loading…
Cancel
Save