]> git.p6c8.net - pcdenotes.git/commitdiff
Show offset to UTC in note publication date
authorPatrick Canterino <patrick@patrick-canterino.de>
Sun, 14 Aug 2022 13:25:56 +0000 (15:25 +0200)
committerPatrick Canterino <patrick@patrick-canterino.de>
Sun, 14 Aug 2022 13:27:13 +0000 (15:27 +0200)
notes/templates/note.html

index d965325cc44e4670ba3389a09a3393e8825b04bf..60353b1558daf0e30aafe6fc0d58146efb45897e 100644 (file)
@@ -3,5 +3,5 @@
     <h2><a href="{{ note.get_absolute_url }}"{% if note.is_draft %} class="text-muted"{% endif %}>{{ note.title }}</a></h2>
     {% if note.is_draft %}<p class="fw-bold">Status: Draft</p>{% endif %}
     <div>{{ note.content|markdown|safe }}</div>
-    <p class="publication-date">Published on {{ note.publication_date|date:"Y-m-d, H:i" }}</p>
+    <p class="publication-date">Published on {{ note.publication_date|date:"Y-m-d, H:i O" }}</p>
 </article>
\ No newline at end of file

patrick-canterino.de