diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-14 18:47:12 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-14 18:47:12 -0500 |
commit | b084936ad9a1e5d7edfcfeb3495b997cb2fe368b (patch) | |
tree | 59b55c33255b29c9cada1f7b4921811d496304af /templates/packages/groups.html | |
parent | 3394a94a4019406b643341771dae057d39af73e3 (diff) |
Ensure consistent date formatting everywhererelease_2010-09-14
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/groups.html')
-rw-r--r-- | templates/packages/groups.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/groups.html b/templates/packages/groups.html index a472e7b2..8a96b7e3 100644 --- a/templates/packages/groups.html +++ b/templates/packages/groups.html @@ -21,7 +21,7 @@ <td><a href="/groups/{{ grp.arch }}/{{ grp.name }}/" title="Group details for {{ grp.name }}">{{ grp.name }}</a></td> <td>{{ grp.count }}</td> - <td>{{ grp.last_update|date:"Y-m-d" }}</td> + <td>{{ grp.last_update|date }}</td> </tr> {% endfor %} </tbody> |