From c120fa8c87bf6c296bcc7786efa4ebb15fa8b828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adeodato=20Sim=C3=B3?= Date: Thu, 9 Nov 2023 13:06:48 -0300 Subject: [PATCH] Rename: templatetags/{sealed_dates => date_ext}.py --- bookwyrm/templates/book/publisher_info.html | 2 +- bookwyrm/templatetags/{sealed_dates.py => date_ext.py} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename bookwyrm/templatetags/{sealed_dates.py => date_ext.py} (93%) diff --git a/bookwyrm/templates/book/publisher_info.html b/bookwyrm/templates/book/publisher_info.html index 26d8e43fd..a69b7d86f 100644 --- a/bookwyrm/templates/book/publisher_info.html +++ b/bookwyrm/templates/book/publisher_info.html @@ -1,7 +1,7 @@ {% spaceless %} {% load i18n %} -{% load sealed_dates %} +{% load date_ext %} {% firstof book.physical_format_detail book.get_physical_format_display as format %} {% firstof book.physical_format book.physical_format_detail as format_property %} diff --git a/bookwyrm/templatetags/sealed_dates.py b/bookwyrm/templatetags/date_ext.py similarity index 93% rename from bookwyrm/templatetags/sealed_dates.py rename to bookwyrm/templatetags/date_ext.py index f0b0f7d25..4167893c8 100644 --- a/bookwyrm/templatetags/sealed_dates.py +++ b/bookwyrm/templatetags/date_ext.py @@ -1,4 +1,4 @@ -""" formatting of SealedDate instances """ +""" additional formatting of dates """ from django import template from django.template import defaultfilters from django.contrib.humanize.templatetags.humanize import naturalday