summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-15 06:00:12 +0100
committerDan McGee <dan@archlinux.org>2011-03-15 06:00:12 +0100
commit9fd7174029de87e58e25db6362f6e1c5349f0599 (patch)
tree216412e3dd45dd1ac2454c4dd645f7a96ec9412f /templates/devel
parentdfab07f5abc5dcc99aa521027e29434224cb0a57 (diff)
downloadarchweb-9fd7174029de87e58e25db6362f6e1c5349f0599.tar.gz
archweb-9fd7174029de87e58e25db6362f6e1c5349f0599.tar.xz
Use date template filter on datetime field display
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index fb4ed4a..f4a8110 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -27,8 +27,8 @@
<td>{{ pkg.repo.name }}</td>
<td>{{ pkg.pkgver }}</td>
<td>{{ pkg.arch.name }}</td>
- <td>{{ pkg.flag_date }}</td>
- <td>{{ pkg.last_update }}</td>
+ <td>{{ pkg.flag_date|date }}</td>
+ <td>{{ pkg.last_update|date }}</td>
</tr>
{% empty %}
<tr class="empty"><td colspan="4"><em>No flagged packages to display</em></td></tr>
@@ -80,7 +80,7 @@
<tr class="{% cycle 'odd' 'even' %}">
<td><a href="{{ todo.get_absolute_url }}"
title="View todo list: {{ todo.name }}">{{ todo.name }}</a></td>
- <td>{{ todo.date_added }}</td>
+ <td>{{ todo.date_added|date }}</td>
<td class="wrap">{{ todo.description|safe }}</td>
</tr>
{% empty %}