mirror of https://github.com/fail2ban/fail2ban
BF: ISO8601 format now returns time in local time zone
parent
d661b8c046
commit
bf86edb3ae
|
@ -259,6 +259,6 @@ 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).timetuple())
|
date = list(iso8601.parse_date(value, None).timetuple())
|
||||||
return date
|
return date
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue