Skip to content

Date/Time formatting not working #15618

Closed
@julianstolp

Description

@julianstolp

Deployment Type

Self-hosted

NetBox Version

v4.0-beta1

Python Version

3.10

Steps to Reproduce

  1. Upgrade to v4.0-beta1
  2. Date and Time formatting defaults to Created 03/10/2022 1 a.m. or 04/04/2024 12:50 p.m. CEST
  3. Check config configuration.py
# Date/time formatting. See the following link for supported formats:
# https://docs.djangoproject.com/en/stable/ref/templates/builtins/#date
DATE_FORMAT = 'N j, Y'
SHORT_DATE_FORMAT = 'Y-m-d'
TIME_FORMAT = 'g:i a'
SHORT_TIME_FORMAT = 'H:i:s'
DATETIME_FORMAT = 'N j, Y g:i a'
SHORT_DATETIME_FORMAT = 'Y-m-d H:i'

Expected Behavior

Date and Time is formatted as defined in Config Created 2022-03-10 01:00 or 2024-04-04 13:34 CEST

Observed Behavior

Created 03/10/2022 1 a.m. or 04/04/2024 12:50 p.m. CEST are displayed also standard values defined in settings.py are not used.

Metadata

Metadata

Assignees

Labels

betaConcerns a bug/feature in a beta releasestatus: 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