[PR #15758] [MERGED] Closes #15736: Remove annotated_date() template filter and annotated_now() template tag #14666

Closed
opened 2025-12-29 23:25:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15758
Author: @jeremystretch
Created: 4/17/2024
Status: Merged
Merged: 4/17/2024
Merged by: @jeremystretch

Base: featureHead: 15736-remove-annotated_date


📝 Commits (1)

  • 2192775 Closes #15736: Remove annotated_date() template filter and annotated_now() template tag

📊 Changes

3 files changed (+3 additions, -33 deletions)

View changed files

📝 netbox/templates/base/layout.html (+2 -2)
📝 netbox/templates/dcim/site.html (+1 -1)
📝 netbox/utilities/templatetags/helpers.py (+0 -30)

📄 Description

Closes: #15736

  • Replace uses of {% annotated_now %} with Django's {% now %} tag (using ISO 8601 format)
  • Remove the annotated_date() template filter
  • Remove the annotated_now() template tag

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15758 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/17/2024 **Status:** ✅ Merged **Merged:** 4/17/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `15736-remove-annotated_date` --- ### 📝 Commits (1) - [`2192775`](https://github.com/netbox-community/netbox/commit/2192775ae26a5226449af24d38a6324462d4f866) Closes #15736: Remove annotated_date() template filter and annotated_now() template tag ### 📊 Changes **3 files changed** (+3 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/base/layout.html` (+2 -2) 📝 `netbox/templates/dcim/site.html` (+1 -1) 📝 `netbox/utilities/templatetags/helpers.py` (+0 -30) </details> ### 📄 Description ### Closes: #15736 - Replace uses of `{% annotated_now %}` with Django's `{% now %}` tag (using ISO 8601 format) - Remove the `annotated_date()` template filter - Remove the `annotated_now()` template tag --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:51 +01:00
adam closed this issue 2025-12-29 23:25:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14666