summaryrefslogtreecommitdiffstats
path: root/templates/packages/search.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-15 01:47:12 +0200
committerDan McGee <dan@archlinux.org>2010-09-15 01:47:12 +0200
commitb084936ad9a1e5d7edfcfeb3495b997cb2fe368b (patch)
tree59b55c33255b29c9cada1f7b4921811d496304af /templates/packages/search.html
parent3394a94a4019406b643341771dae057d39af73e3 (diff)
downloadarchweb-b084936ad9a1e5d7edfcfeb3495b997cb2fe368b.tar.gz
archweb-b084936ad9a1e5d7edfcfeb3495b997cb2fe368b.tar.xz
Ensure consistent date formatting everywhere
Set up a default DATE_FORMAT in settings.py and use it everywhere we do the '|date' template filter rather than hardcoding the value in the template. This also fixes a regression with news date/time now that we changed the field to store both date and time. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/search.html')
-rw-r--r--templates/packages/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index e11e909..2aa82af 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -102,7 +102,7 @@
<td>{{ pkg.pkgver }}-{{ pkg.pkgrel }}</td>
{% endif %}
<td class="wrap">{{ pkg.pkgdesc }}</td>
- <td>{{ pkg.last_update|date:"Y-m-d" }}</td>
+ <td>{{ pkg.last_update|date }}</td>
</tr>
{% endfor %}
</tbody>