Put the time in 24 hour notion.

This commit is contained in:
Bradley M. Kuhn 2014-03-31 18:44:05 -04:00
parent 09d7a3aa2c
commit c2a1250eac
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
<p class="date">{{ object.pub_date|date:"F j, Y" }} by {{ object.author.formal_name }}</p> <p class="date">{{ object.pub_date|date:"F j, Y" }} by {{ object.author.formal_name }}</p>
<h2>{{ object.headline|safe }}</h2> <h2>{{ object.headline|safe }}</h2>
{{ object.body|safe }} {{ object.body|safe }}
<p><i>Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}. Please email any comments on this entry to <a href="mailto:info@sfconservancy.org">info@sfconservancy.org</a>.</i></p> <p><i>Posted by <strong>{{ object.author.formal_name }}</strong> on {{object.pub_date|date:"F j, Y at R" }}. Please email any comments on this entry to <a href="mailto:info@sfconservancy.org">info@sfconservancy.org</a>.</i></p>
{% if object.tags.all %}<p class="blog-tags">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %} {% if object.tags.all %}<p class="blog-tags">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}

View file

@ -17,7 +17,7 @@
<p class="date">{{ object.pub_date|date:"F j, Y" }} by {{ object.author.formal_name }}</p> <p class="date">{{ object.pub_date|date:"F j, Y" }} by {{ object.author.formal_name }}</p>
<h3><a href="{{ object.get_absolute_url }}">{{ object.headline|safe }}</a></h3> <h3><a href="{{ object.get_absolute_url }}">{{ object.headline|safe }}</a></h3>
{{ object.body|safe }} {{ object.body|safe }}
<p class="date small">Posted by <strong>{{ object.author.formal_name }}</strong> on {{ object.pub_date|date:"F j, Y" }}</p> <p class="date small">Posted by <strong>{{ object.author.formal_name}}</strong> on {{ object.pub_date|date:"F j, Y at R" }}</p>
{% if object.tags.all %}<p class="blog-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %} {% if object.tags.all %}<p class="blog-tags small">Tags: {% for tag in object.tags.all %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}</p>{% endif %}
</div> </div>
{% endfor %} {% endfor %}

View file

@ -91,7 +91,7 @@
<div class="shaded"> <div class="shaded">
<h3><a href="{{ blog.0.get_absolute_url }}">{{ blog.0.headline|safe }}</a></h3> <h3><a href="{{ blog.0.get_absolute_url }}">{{ blog.0.headline|safe }}</a></h3>
<p class="date">Posted by {{ blog.0.author.formal_name }} <p class="date">Posted by {{ blog.0.author.formal_name }}
on {{ blog.0.pub_date|date:"F j, Y" }}</p> on {{ blog.0.pub_date|date:"F j, Y at R" }}</p>
{{ blog.0.summary|safe }} {{ blog.0.summary|safe }}
<p><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More <p><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More
from {{ blog.0.author.casual_name }} on this&hellip;</a></span></p> from {{ blog.0.author.casual_name }} on this&hellip;</a></span></p>
@ -101,7 +101,7 @@ on {{ blog.0.pub_date|date:"F j, Y" }}</p>
<hr/> <hr/>
<h3><a href="{{ blog.1.get_absolute_url }}">{{ blog.1.headline|safe }}</a></h3> <h3><a href="{{ blog.1.get_absolute_url }}">{{ blog.1.headline|safe }}</a></h3>
<p class="date">Posted by {{ blog.1.author.formal_name }} <p class="date">Posted by {{ blog.1.author.formal_name }}
on {{ blog.1.pub_date|date:"F j, Y" }}</p> on {{ blog.1.pub_date|date:"F j, Y at R" }}</p>
{{ blog.1.summary|safe }} {{ blog.1.summary|safe }}
<p><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More <p><span class="continued"><a href="{{ blog.0.get_absolute_url }}">Read More
from {{ blog.1.author.casual_name }} on this&hellip;</a></span></p> from {{ blog.1.author.casual_name }} on this&hellip;</a></span></p>