Skip to content

Wrong date format #11189

@fixed77

Description

@fixed77

NetBox version

v3.4.0

Python version

3.8

Steps to Reproduce

  1. Set date format in configuration.py
SHORT_DATE_FORMAT = 'Y-m-d'
TIME_FORMAT = 'H:i'
SHORT_TIME_FORMAT = 'H:i:s'
DATETIME_FORMAT = 'j N Y H:i'
SHORT_DATETIME_FORMAT = 'Y-m-d H:i'
  1. Restart netbox
  2. In main page after login date in bottom: 12/15/2022 11:11 a.m.
  3. Other -> Change Log. Open any record. Time: 12/15/2022 10:22 a.m.
  4. Open any Virtual machine. Created 01/26/2022 3 a.m. · Updated 1 month, 1 week ago (Without minutes)

Expected Behavior

Expected date format as specified in configuration.py

Observed Behavior

Observed wrong date format

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions