Commits

Anonymous committed b9cb3af

[project @ 358]
Fixed datetime formatting of hours

Comments (0)

Files changed (12)

templates/cciw/forums/newsindex.html

 		{% for topic in object_list %}
 			<div class="newsItem">
 				<h2>{{ topic.news_item.subject }}</h2>
-				<div class="newsItemDetails">Posted: {{ topic.news_item.created_at|date:"d M Y, h:i" }}, 
+				<div class="newsItemDetails">Posted: {{ topic.news_item.created_at|date:"d M Y, H:i" }}, 
 				by {% memberlink %}{{ topic.news_item.created_by_id }}{% endmemberlink %}</div>
 				<div class="newsItemSummary">
 				{{ topic.news_item.summary|bb2html }}

templates/cciw/forums/photoindex.html

 			</tr>
 		{% for photo in object_list %}
 			<tr>
-				<td>{% if photo.created_at %}{{ photo.created_at|date:"d M Y h:i" }}{% endif %}</td>
+				<td>{% if photo.created_at %}{{ photo.created_at|date:"d M Y H:i" }}{% endif %}</td>
 				<td class="photoCol"><a href="{{ photo.get_absolute_url }}"><img class="photoThumbnail" src="{{ pagevars.media_root_url }}photos/thumbnails/{{ photo.filename }}" alt="Photo {{photo.filename}}" /></a>
 				</td>
 				<td>{{ photo.description }} <span class="taglist">{% tag_summary_list for photo %} {% add_tag_link for photo %}</span>
 				</td>
 				<td>{{ photo.post_count }}</td>
-				<td>{% if photo.last_post_at %}{{ photo.last_post_at|date:"d M Y h:i" }}<br/>{% endif %}
+				<td>{% if photo.last_post_at %}{{ photo.last_post_at|date:"d M Y H:i" }}<br/>{% endif %}
 				    {% if photo.last_post_by_id %}{% memberlink %}{{ photo.last_post_by_id }}{% endmemberlink %}{% endif %}</td>
 			</tr>
 		{% endfor %}

templates/cciw/forums/posts.html

 			{% if post.photo_id %}On photo <a href="{{ post.photo.get_absolute_url }}">{{ post.photo.id }}</a>:{% endif %}
 			</h2>
 		{% endifchanged %}
-		From {% memberlink %}{{ post.posted_by_id }}{% endmemberlink %}, at {{ post.posted_at|date:"d M y, h:i" }}{% if post.is_parent_visible %} &mdash; <span class="readmore"><a href="{{ post.get_absolute_url }}">view in context</a></span>{% endif %}:
+		From {% memberlink %}{{ post.posted_by_id }}{% endmemberlink %}, at {{ post.posted_at|date:"d M y, H:i" }}{% if post.is_parent_visible %} &mdash; <span class="readmore"><a href="{{ post.get_absolute_url }}">view in context</a></span>{% endif %}:
 		</div>
 		<div class="postMessage">
 		{% if post.subject %}<div class="postSubject">{{ post.subject|bb2html }}</div>{% endif %}

templates/cciw/forums/thread.html

 				<td class="postFrom">
 					<span class="postMemberIcon">{% membericon %}{{ post.posted_by_id }}{% endmembericon %}</span>
 					{% memberlink %}{{ post.posted_by_id }}{% endmemberlink %}<br/>
-					<span class="postDate">{% if post.posted_at %}{{ post.posted_at|date:"d M y, h:i" }}{% endif %}</span>
+					<span class="postDate">{% if post.posted_at %}{{ post.posted_at|date:"d M y, H:i" }}{% endif %}</span>
 					{% if post.hidden %}
 						{% if moderator %}
 							<br/><span class="postHiddenMsg">HIDDEN</span>

templates/cciw/forums/topic.html

 	{% if news_item %}
 	<br/>
 	<div class="newsItem">
-		<div class="newsItemDetails">Posted: {{ news_item.created_at|date:"d M Y, h:i" }}, 
+		<div class="newsItemDetails">Posted: {{ news_item.created_at|date:"d M Y, H:i" }}, 
 		by {% memberlink %}{{ news_item.created_by_id }}{% endmemberlink %}</div>
 		<div class="newsItemFull">
 		{% if news_item.full_item %}
 		{% endif %}
 
 		{% if poll.can_anyone_vote %}
-		<p><small><i>Voting starts: {{ poll.voting_starts|date:"d M Y, h:i" }}<br/>
-		 Voting ends: {{ poll.voting_ends|date:"d M Y, h:i" }}<br/>
+		<p><small><i>Voting starts: {{ poll.voting_starts|date:"d M Y, H:i" }}<br/>
+		 Voting ends: {{ poll.voting_ends|date:"d M Y, H:i" }}<br/>
 		Rules: {{ poll.verbose_rules }}</i></small></p>
 		{% else %}
 		<p><i>Voting closed.</i></p>

templates/cciw/forums/topicindex.html

 					{% endif %}
 				{% endif %}
 				</td>
-				<td>{% if topic.created_at %}{{ topic.created_at|date:"d M Y h:i" }}<br/>{% endif %}
+				<td>{% if topic.created_at %}{{ topic.created_at|date:"d M Y H:i" }}<br/>{% endif %}
 				    {% if topic.started_by_id %}{% memberlink %}{{ topic.started_by_id }}{% endmemberlink %}{% endif %}</td>
 				<td>{{ topic.post_count }}</td>
-				<td>{% if topic.last_post_at %}{{ topic.last_post_at|date:"d M Y h:i" }}<br/>{% endif %}
+				<td>{% if topic.last_post_at %}{{ topic.last_post_at|date:"d M Y H:i" }}<br/>{% endif %}
 				    {% if topic.last_post_by_id %}{% memberlink %}{{ topic.last_post_by_id }}{% endmemberlink %}{% endif %}</td>
 				<td>{% if topic.open %}Open{% else %}Closed{% endif %}</td>
 			</tr>

templates/cciw/forums/topics.html

 		<div class="individualTopic">
 			<h2><a href="{{ topic.get_absolute_url }}">{{ topic.subject|escape }}</a></h2>
 			<div>(In <a href="{{ topic.forum.get_absolute_url }}">{{ topic.forum.nice_name|escape }}</a>,
-	started by {% memberlink %}{{ topic.started_by_id }}{% endmemberlink %}, at {{ topic.created_at|date:"d M y, h:i" }})<br/><br/></div>
+	started by {% memberlink %}{{ topic.started_by_id }}{% endmemberlink %}, at {{ topic.created_at|date:"d M y, H:i" }})<br/><br/></div>
 	
 		</div></li>
 		{% endfor %}

templates/cciw/members/index.html

 			</td>
 			<td>
 			{% if member.last_seen %}
-				{{ member.last_seen|date:"d M Y h:i" }}
+				{{ member.last_seen|date:"d M Y H:i" }}
 			{% endif %}
 			</td>
 		</tr>

templates/cciw/members/messages/index.html

 			<td class="postFrom">
 				<span class="postMemberIcon">{% membericon %}{{ message.from_member_id }}{% endmembericon %}</span>
 				{% memberlink %}{{ message.from_member_id }}{% endmemberlink %}<br/>
-				<span class="postDate">{% if message.time %}{{ message.time|date:"d M y, h:i" }}{% endif %}</span><br/>
+				<span class="postDate">{% if message.time %}{{ message.time|date:"d M y, H:i" }}{% endif %}</span><br/>
 				<a href="/members/{{ message.from_member_id }}/messages/" title="Reply to {{ messge.from_member_id }}">&raquo; reply</a>
 			</td>
 			<td class="postMessage">{{ message.text|bb2html }}</td>

templates/feeds/members_description.html

 {% load forums %}
-<p>Member <b><a href="http://{{ site.domain }}{{ obj.get_absolute_url|escape }}">{{ obj.user_name }}</a></b> joined on {{ obj.date_joined|date:"d M y, h:i" }}</p>
+<p>Member <b><a href="http://{{ site.domain }}{{ obj.get_absolute_url|escape }}">{{ obj.user_name }}</a></b> joined on {{ obj.date_joined|date:"d M y, H:i" }}</p>
 Real name: {{ obj.real_name }}<br/>
 {% if obj.show_email %}
 E-mail: {{ obj.email }} <br/>

templates/feeds/posts_description.html

 {% load standardpage %}
 {% load forums %}
-<div>From <b>{{ obj.posted_by_id }}</b>, at {{ obj.posted_at|date:"d M y, h:i" }}:</div>
+<div>From <b>{{ obj.posted_by_id }}</b>, at {{ obj.posted_at|date:"d M y, H:i" }}:</div>
 <div class="postMessage"><hr/>
 	{% if obj.subject %}<div class="postSubject">{{ obj.subject|escape }}</div>{% endif %}
 	{{ obj.message|bb2html }}

templates/feeds/topics_description.html

 {% load standardpage %}
 {% load forums %}
-<div>From <b>{{ obj.started_by_id }}</b>, at {{ obj.created_at|date:"d M y, h:i" }}:</div>
+<div>From <b>{{ obj.started_by_id }}</b>, at {{ obj.created_at|date:"d M y, H:i" }}:</div>
 <div><hr/>
 <h1>{{ obj.subject }}</h1>
 {% if obj.news_item_id %}