diff gpp/templates/forums/display_post.html @ 120:f8f4514b806a

Added a 24-hour time preference flag in the user profile. Added forum template tags for showing forum dates/times adjusted for the user's time zone.
author Brian Neal <bgneal@gmail.com>
date Sun, 25 Oct 2009 21:55:28 +0000
parents a3633f39f3ce
children 98d658afd4bf
line wrap: on
line diff
--- a/gpp/templates/forums/display_post.html	Sat Oct 24 02:39:54 2009 +0000
+++ b/gpp/templates/forums/display_post.html	Sun Oct 25 21:55:28 2009 +0000
@@ -13,7 +13,7 @@
       <div class="forum-post-info quiet">
       {% if post.unread %}<img src="{{ MEDIA_URL }}icons/new.png" alt="New" title="New" />{% endif %}
       <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a>
-         Posted on {{ post.creation_date|date:"M d, Y H:i" }}
+         Posted on {% forum_date post.creation_date user %}
          {% if can_moderate %}from IP: {{ post.user_ip }}{% endif %}
       </div>
       <div class="forum-post-body">