diff --git a/settings.py b/settings.py index 7b12204b..8f428fc6 100644 --- a/settings.py +++ b/settings.py @@ -41,9 +41,6 @@ DATE_FORMAT = 'Y-m-d' DATETIME_FORMAT = 'Y-m-d H:i' -# Disable so our own DATE_FORMAT/DATETIME_FORMAT is used. -USE_L10N = False - # Login URL configuration LOGIN_URL = '/login/' LOGIN_REDIRECT_URL = '/' diff --git a/templates/devel/admin_log.html b/templates/devel/admin_log.html index 586b1993..dfd0fc82 100644 --- a/templates/devel/admin_log.html +++ b/templates/devel/admin_log.html @@ -30,7 +30,7 @@ {% for entry in admin_log %} - {{ entry.action_time|date:"DATETIME_FORMAT" }} + {{ entry.action_time|date:"Y-m-d H:i" }} {% if log_user %} {{ entry.user.username }}{% if entry.user.get_full_name %} ({{ entry.user.get_full_name }}){% endif %} {% else %} diff --git a/templates/packages/package_details.html b/templates/packages/package_details.html index 47318ac6..11d20369 100644 --- a/templates/packages/package_details.html +++ b/templates/packages/package_details.html @@ -182,19 +182,19 @@

Versions Elsewhere

{% else %}{{ pkg.packager_str }}{% endif %}{% endwith %} Build Date: - {{ pkg.build_date|date:"DATETIME_FORMAT" }} UTC + {{ pkg.build_date|date:"Y-m-d H:i" }} UTC {% if pkg.signature %} Signed By: {% with signer=pkg.signer %}{% if signer %}{% pgp_key_link pkg.signature.key_id signer.get_full_name|safe %}{% else %}Unknown ({% pgp_key_link pkg.signature.key_id|safe %}){% endif %}{% endwith %} Signature Date: - {{ pkg.signature.creation_time|date:"DATETIME_FORMAT" }} UTC + {{ pkg.signature.creation_time|date:"Y-m-d H:i" }} UTC {% else %} Signed By: Unsigned {% endif %} Last Updated: - {{ pkg.last_update|date:"DATETIME_FORMAT" }} UTC{% if pkg.is_recent %} ({{ pkg.last_update|naturaltime }}){% endif %} + {{ pkg.last_update|date:"Y-m-d H:i" }} UTC{% if pkg.is_recent %} ({{ pkg.last_update|naturaltime }}){% endif %} {% if user.is_authenticated %} Reproducible Status: diff --git a/templates/releng/release_detail.html b/templates/releng/release_detail.html index 2e069ff1..d5275f32 100644 --- a/templates/releng/release_detail.html +++ b/templates/releng/release_detail.html @@ -38,7 +38,7 @@

Torrent Information