Remove configuration parameters date & time formatting #9487

Closed
opened 2025-12-29 20:50:35 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Apr 16, 2024).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Remove the following configuration parameters:

  • DATE_FORMAT
  • DATETIME_FORMAT
  • SHORT_DATE_FORMAT
  • SHORT_DATETIME_FORMAT
  • SHORT_TIME_FORMAT
  • TIME_FORMAT

Justification

Per #15735, NetBox will now display all dates & times in ISO 8601 format consistently, regardless of configuration or locale. These configuration parameters are no longer needed.

Impact

As Django 5.0 and later enforces localization of dates & times by default, these settings generally have no effect anyway (as noted in #15618).

Originally created by @jeremystretch on GitHub (Apr 16, 2024). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Remove the following configuration parameters: - `DATE_FORMAT` - `DATETIME_FORMAT` - `SHORT_DATE_FORMAT` - `SHORT_DATETIME_FORMAT` - `SHORT_TIME_FORMAT` - `TIME_FORMAT` ### Justification Per #15735, NetBox will now display all dates & times in ISO 8601 format consistently, regardless of configuration or locale. These configuration parameters are no longer needed. ### Impact As Django 5.0 and later enforces localization of dates & times by default, these settings generally have no effect anyway (as noted in #15618).
adam added the status: acceptedtype: deprecation labels 2025-12-29 20:50:35 +01:00
adam closed this issue 2025-12-29 20:50:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9487