Skip to content

Commit

Permalink
Fix example/blog time formatting
Browse files Browse the repository at this point in the history
Just a minor bug found testing your blog example, timestamp was printing `YEAR:HOUR`, fixed it to `HOUR:MIN`
  • Loading branch information
Susensio authored Sep 13, 2018
1 parent 136aa32 commit d2d31a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/blog/templates/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
{% endblock %}

{% block content %}
<p>Created {{ entry.timestamp.strftime('%m/%d/%Y at %G:%I%p') }}</p>
<p>Created {{ entry.timestamp.strftime('%m/%d/%Y at %I:%M%p') }}</p>
{{ entry.html_content }}
{% endblock %}

0 comments on commit d2d31a5

Please sign in to comment.