Update filter format
This commit is contained in:
parent
636600f034
commit
87268555c5
2 changed files with 3 additions and 4 deletions
|
@ -2,4 +2,4 @@ import iso8601
|
||||||
|
|
||||||
|
|
||||||
def format_datetime(value):
|
def format_datetime(value):
|
||||||
return iso8601.parse_date(str(value)).strftime("%x")
|
return iso8601.parse_date(str(value)).strftime("%x %-H:%M")
|
||||||
|
|
|
@ -17,9 +17,8 @@
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p class="text-right">
|
<p class="text-right small">
|
||||||
Updated: {{ article.updated }}
|
Updated: {{ article.date|datetime }}
|
||||||
Date: {{ article.date|datetime }}
|
|
||||||
</p>
|
</p>
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue