-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v4.0-beta1
Feature type
Change to existing functionality
Proposed functionality
Display all dates and times within the NetBox UI in ISO 8601 format (YYYY-MM-DD hh:mm:ss). This will be implemented by introducing three new template filters:
isodate()isodatetime()isotime()
The isodatetime() and isotime() filters should accept a granularity specification (e.g. "minutes" or "seconds") to be passed to Python's datetime.time() method for rendering.
Use case
This will provide a consistent display of date and time information for all users across the entire application, and the ISO 8601 format seems to be overwhelmingly preferred by users per the discussion in #15706.
Additionally, #15618 points out that the configurable date & time formats are largely useless now that Django 5.0 and later force localization of these values.
Database changes
None
External dependencies
None