diff --git a/templates/threads.html b/templates/threads.html index 490eb70..a87aff1 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -253,7 +253,7 @@
- {{ thread.created_at | time_ago }} · + {{ thread.created_at | time_ago }} · Anchor
@@ -325,7 +325,7 @@
- {{ descendant.created_at | time_ago }} · + {{ descendant.created_at | time_ago }} · Anchor
diff --git a/threads.py b/threads.py index e0116e1..33266dd 100755 --- a/threads.py +++ b/threads.py @@ -49,11 +49,6 @@ def time_ago(date): return str(weeks) + ' weeks ago' return date_obj.strftime('%b %d, %Y') -@threads.app_template_filter('format_date') -def format_date(date): - return date.replace('T', ' ').split('.')[0] - - @threads.route('/') def home(): statuses = fetch_statuses()