aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index f1d64f4..060452f 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -3926,7 +3926,7 @@ def resolve_ref(ref):
else:
token = token.replace('_pretty', '')
if token in token_to_format:
- return ref_datetime.strftime(token_to_format[token])
+ return decode_from_utf8(ref_datetime.strftime(token_to_format[token]))
else:
return match.group(0)