Skip to content

Time display in web interface #12973

@sk011

Description

@sk011

NetBox version

v3.5.3

Python version

3.8

Steps to Reproduce

  1. Click create item example VLAN
  2. Click on ID Change log
  3. Time dispaly error
    system date/time Fri 23 Jun 2023 09:55:09 MSK
    date/time in netbox/configuration.py TIME_ZONE = 'UTC'
    date/time in DB
postgres=# select NOW();
              now              
-------------------------------
 2023-06-23 09:55:46.821546+03
(1 row)

postgres=# show timezone;
   TimeZone    
---------------
 Europe/Moscow
(1 row)
netbox=# select created,last_updated,vid from ipam_vlan where vid = '1024';
            created            |         last_updated          | vid  
-------------------------------+-------------------------------+------
 2023-06-23 09:55:22.120319+03 | 2023-06-23 09:55:22.120346+03 | 1024


image

Expected Behavior

correct time display

Observed Behavior

time in changelog incorrect regarding OS timezone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions