[PR #11857] [MERGED] Closes #10729: Add date & time custom field type #13857

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11857
Author: @jeremystretch
Created: 2/28/2023
Status: Merged
Merged: 2/28/2023
Merged by: @jeremystretch

Base: featureHead: 10729-datetime-custom-field


📝 Commits (2)

  • 16daeab Add datetime custom field type
  • 5480c92 Update custom field tests

📊 Changes

7 files changed (+108 additions, -31 deletions)

View changed files

📝 docs/customization/custom-fields.md (+1 -0)
📝 docs/release-notes/version-3.5.md (+1 -0)
📝 netbox/extras/choices.py (+2 -0)
📝 netbox/extras/models/customfields.py (+27 -5)
📝 netbox/extras/tests/test_customfields.py (+72 -26)
📝 netbox/extras/tests/test_forms.py (+3 -0)
📝 netbox/utilities/templates/builtins/customfield_value.html (+2 -0)

📄 Description

Closes: #10729

  • Add a datetime custom field type
  • Update field serialize & deserialize methods
  • Extend relevant custom field tests

🔄 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/11857 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/28/2023 **Status:** ✅ Merged **Merged:** 2/28/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `10729-datetime-custom-field` --- ### 📝 Commits (2) - [`16daeab`](https://github.com/netbox-community/netbox/commit/16daeabccf9179da193b2bf76329f9857386d396) Add datetime custom field type - [`5480c92`](https://github.com/netbox-community/netbox/commit/5480c92d023458d68e7bdeb8cddb27202a7f72a8) Update custom field tests ### 📊 Changes **7 files changed** (+108 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `docs/customization/custom-fields.md` (+1 -0) 📝 `docs/release-notes/version-3.5.md` (+1 -0) 📝 `netbox/extras/choices.py` (+2 -0) 📝 `netbox/extras/models/customfields.py` (+27 -5) 📝 `netbox/extras/tests/test_customfields.py` (+72 -26) 📝 `netbox/extras/tests/test_forms.py` (+3 -0) 📝 `netbox/utilities/templates/builtins/customfield_value.html` (+2 -0) </details> ### 📄 Description ### Closes: #10729 - Add a `datetime` custom field type - Update field serialize & deserialize methods - Extend relevant custom field tests --- <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:21:12 +01:00
adam closed this issue 2025-12-29 23:21:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13857