Changeset - ed08a2117d8f
[Not reviewed]
default
0 1 0
Mads Kiilerich - 6 years ago 2019-12-26 15:07:36
mads@kiilerich.com
Grafted from: d8d3b0d56cd6
helpers: drop fmt_date iso8601 decoding to unicode - it will always be str
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/helpers.py
Show inline comments
 
@@ -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 ""
 

	
 

	
0 comments (0 inline, 0 general)