##// END OF EJS Templates
Use local dates instead of RFC 2822 format because now we have the timezone...
neko259 -
r1097:855ea92d default
parent child Browse files
Show More
@@ -8,7 +8,7 b''
8 <div class="post-info">
8 <div class="post-info">
9 <a class="post_id" href="{{ post.get_url }}">({{ post.get_absolute_id }})</a>
9 <a class="post_id" href="{{ post.get_url }}">({{ post.get_absolute_id }})</a>
10 <span class="title">{{ post.title }}</span>
10 <span class="title">{{ post.title }}</span>
11 <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time|date:'r' }}</time></span>
11 <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span>
12 {% comment %}
12 {% comment %}
13 Thread death time needs to be shown only if the thread is alredy archived
13 Thread death time needs to be shown only if the thread is alredy archived
14 and this is an opening post (thread death time) or a post for popup
14 and this is an opening post (thread death time) or a post for popup
@@ -16,7 +16,7 b''
16 {% endcomment %}
16 {% endcomment %}
17 {% if thread.archived %}
17 {% if thread.archived %}
18 {% if is_opening %}
18 {% if is_opening %}
19 <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time|date:'r' }}</time>
19 <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time>
20 {% endif %}
20 {% endif %}
21 {% endif %}
21 {% endif %}
22 {% if is_opening and need_open_link %}
22 {% if is_opening and need_open_link %}
@@ -30,7 +30,7 b''
30 {% cache 600 thread_meta thread.last_edit_time moderator LANGUAGE_CODE TIME_ZONE %}
30 {% cache 600 thread_meta thread.last_edit_time moderator LANGUAGE_CODE TIME_ZONE %}
31 <span id="reply-count">{{ thread.get_reply_count }}</span>{% if thread.has_post_limit %}/{{ thread.max_posts }}{% endif %} {% trans 'messages' %},
31 <span id="reply-count">{{ thread.get_reply_count }}</span>{% if thread.has_post_limit %}/{{ thread.max_posts }}{% endif %} {% trans 'messages' %},
32 <span id="image-count">{{ thread.get_images_count }}</span> {% trans 'images' %}.
32 <span id="image-count">{{ thread.get_images_count }}</span> {% trans 'images' %}.
33 {% trans 'Last update: ' %}<span id="last-update"><time datetime="{{ thread.last_edit_time|date:'c' }}">{{ thread.last_edit_time|date:'r' }}</time></span>
33 {% trans 'Last update: ' %}<span id="last-update"><time datetime="{{ thread.last_edit_time|date:'c' }}">{{ thread.last_edit_time }}</time></span>
34 [<a href="rss/">RSS</a>]
34 [<a href="rss/">RSS</a>]
35 {% endcache %}
35 {% endcache %}
36 </span>
36 </span>
General Comments 0
You need to be logged in to leave comments. Login now