diff --git a/bookwyrm/templatetags/status_display.py b/bookwyrm/templatetags/status_display.py index c0ab40689..5d1f86caf 100644 --- a/bookwyrm/templatetags/status_display.py +++ b/bookwyrm/templatetags/status_display.py @@ -1,6 +1,7 @@ """ template filters """ from dateutil.relativedelta import relativedelta from django import template +from django.conf import settings from django.contrib.humanize.templatetags.humanize import naturaltime, naturalday from django.template.loader import select_template from django.utils import timezone @@ -61,7 +62,7 @@ def get_published_date(date): if delta.years: return naturalday(date) if delta.days or delta.months: - return naturalday(date, "M j") + return naturalday(date, settings.MONTH_DAY_FORMAT) return naturaltime(date)