summaryrefslogtreecommitdiff
path: root/src/meetingtools/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/extensions')
-rw-r--r--src/meetingtools/extensions/templatetags/datehumanize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/meetingtools/extensions/templatetags/datehumanize.py b/src/meetingtools/extensions/templatetags/datehumanize.py
index 9570612..9b75cae 100644
--- a/src/meetingtools/extensions/templatetags/datehumanize.py
+++ b/src/meetingtools/extensions/templatetags/datehumanize.py
@@ -15,6 +15,7 @@ def datehumanize(value):
from datetime import datetime
if isinstance(value, datetime):
+ value = value.replace(tzinfo=None)
delta = datetime.now() - value
if delta.days > 6:
return value.strftime("on %b %d") # May 15