# HG changeset patch # User Mads Kiilerich # Date 2019-12-26 15:07:36 # Node ID ed08a2117d8f7ce5025a2677bcb84e81d5c61d52 # Parent 1522a33ac21f154f76802acc054d5ac0b32fe339 helpers: drop fmt_date iso8601 decoding to unicode - it will always be str diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -515,8 +515,7 @@ def show_id(cs): def fmt_date(date): if date: - return date.strftime("%Y-%m-%d %H:%M:%S").decode('utf-8') - + return date.strftime("%Y-%m-%d %H:%M:%S") return ""