Author
|
zPlus <zplus@peers.community>
2018-07-19 07:07:23
|
Committer
|
zPlus <zplus@peers.community>
2018-07-19 07:07:23
|
Commit
|
e2d139c
(patch)
|
Tree
|
11dbbc5
|
Parent(s)
|
|
Add a TODO comment.
modified: freepost/__init__.py
commits diff:
d4059bd..e2d139c
1 file changed,
1 insertion,
0 deletions
—
download
Diffstat
Diff options
+1/-0
M freepost/__init__.py
32
|
32
|
|
'filters': {
|
33
|
33
|
|
'ago': lambda date: timeago.format (date),
|
34
|
34
|
|
'datetime': lambda date: date.strftime ('%b %-d, %Y - %H:%M%p%z%Z'),
|
|
35
|
+ |
# TODO this should be renamed. It's only a way to pretty print dates
|
35
|
36
|
|
'title': lambda date: date.strftime ('%b %-d, %Y - %H:%M%z%Z'),
|
36
|
37
|
|
# Convert markdown to plain text
|
37
|
38
|
|
'md2txt': lambda text: bleach.clean (markdown.markdown (text),
|