diff --git a/freepost/__init__.py b/freepost/__init__.py index 856a468..e76844a 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),