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):
|
||||
return iso8601.parse_date(str(value)).strftime("%x")
|
||||
return iso8601.parse_date(str(value)).strftime("%x %-H:%M")
|
||||
|
|
|
@ -17,9 +17,8 @@
|
|||
</section>
|
||||
<section>
|
||||
<div class="container">
|
||||
<p class="text-right">
|
||||
Updated: {{ article.updated }}
|
||||
Date: {{ article.date|datetime }}
|
||||
<p class="text-right small">
|
||||
Updated: {{ article.date|datetime }}
|
||||
</p>
|
||||
{{ article.content }}
|
||||
</div>
|
||||
|
|
Reference in a new issue