Bläddra i källkod

Changelog & cleanup for #5503

jeremystretch 4 år sedan
förälder
incheckning
fc15ef6967
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 0
      docs/release-notes/version-2.11.md
  2. 1 1
      netbox/utilities/templatetags/helpers.py

+ 1 - 0
docs/release-notes/version-2.11.md

@@ -4,6 +4,7 @@
 
 ### Enhancements
 
+* [#5503](https://github.com/netbox-community/netbox/issues/5503) - Annotate short date & time fields with their longer form
 * [#6138](https://github.com/netbox-community/netbox/issues/6138) - Add an `empty` filter modifier for character fields
 * [#6200](https://github.com/netbox-community/netbox/issues/6200) - Add rack reservations to global search
 * [#6368](https://github.com/netbox-community/netbox/issues/6368) - Enable virtual chassis assignment during bulk import of devices

+ 1 - 1
netbox/utilities/templatetags/helpers.py

@@ -4,8 +4,8 @@ import re
 
 import yaml
 from django import template
-from django.template.defaultfilters import date
 from django.conf import settings
+from django.template.defaultfilters import date
 from django.urls import NoReverseMatch, reverse
 from django.utils import timezone
 from django.utils.html import strip_tags