From e2d139ce5e52189fa6865d30ad68e40727e52390 Mon Sep 17 00:00:00 2001 From: zPlus Date: Thu, 19 Jul 2018 09:07:23 +0200 Subject: [PATCH] Add a TODO comment. modified: freepost/__init__.py --- freepost/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freepost/__init__.py b/freepost/__init__.py index 856a4686..e76844a2 100755 --- a/freepost/__init__.py +++ b/freepost/__init__.py @@ -32,6 +32,7 @@ template = functools.partial ( 'filters': { 'ago': lambda date: timeago.format (date), 'datetime': lambda date: date.strftime ('%b %-d, %Y - %H:%M%p%z%Z'), + # TODO this should be renamed. It's only a way to pretty print dates 'title': lambda date: date.strftime ('%b %-d, %Y - %H:%M%z%Z'), # Convert markdown to plain text 'md2txt': lambda text: bleach.clean (markdown.markdown (text),