-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
Environment
- Python version: 3.7.3
- NetBox version: 2.10.1
Proposed Functionality
The current approach seems to be to use ISO 8601
SHORT_DATE_FORMAT = 'Y-m-d' # 2016-06-26where the logical order matters, for example in the changelog view that is sorted by time. For "free text" dates,
DATE_FORMAT = 'N j, Y' # June 26, 2016is used. I am proposing to use SHORT_DATE_FORMAT everywhere in the UI except in tooltips. And then augment dates as tooltip in DATE_FORMAT. This is because ISO 8601 is the standard for dates in written form. If the user ever needs to communicate a date via voice, they are expected to translate 2016-06-26 in their head or peek in the tooltip and say "June 26, 2016".
@jeremystretch commented on ISO 8601 in #1412 (comment) already so I assume there is some background to the current default. I still would like to discuss this.
Use Case
Consistency.
Database Changes
No.
External Dependencies
No.
FaffeF
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application