Local Date Time References #6196

Closed
opened 2025-12-29 19:37:55 +01:00 by adam · 2 comments
Owner

Originally created by @jeremyforan on GitHub (Mar 10, 2022).

NetBox version

v3.1.8

Feature type

Change to existing functionality

Proposed functionality

In Netbox timestamps are in UTC. It would be convenient to have an option to enable Local timestamps in the browser. The timestamps would still be stored in UTC but optionally could be displayed in local time. I believe this can be done through the annotated_date function.

I believe django provides some support for this functionality:
from django.utils.timezone import activate

Use case

There are only three things I am not good at

  1. reference-based counting
  2. making very subtle jokes

It just removes some of the mental overhead when doing a postmortem on a bug or issue.

Database changes

A Bool value to track if the user has localization enabled.

External dependencies

Update to the annotated_date function, and something to handle the logic.

from django.utils.timezone import activate
activate(settings.TIME_ZONE)

Originally created by @jeremyforan on GitHub (Mar 10, 2022). ### NetBox version v3.1.8 ### Feature type Change to existing functionality ### Proposed functionality In Netbox timestamps are in UTC. It would be convenient to have an option to enable Local timestamps in the browser. The timestamps would still be stored in UTC but optionally could be displayed in local time. I believe this can be done through the _annotated_date_ function. I believe django provides some support for this functionality: `from django.utils.timezone import activate` ### Use case There are only three things I am not good at 1) reference-based counting 2) making very subtle jokes It just removes some of the mental overhead when doing a postmortem on a bug or issue. ### Database changes A Bool value to track if the user has localization enabled. ### External dependencies Update to the annotated_date function, and something to handle the logic. ``` from django.utils.timezone import activate activate(settings.TIME_ZONE) ```
adam added the type: featurepending closurestatus: under review labels 2025-12-29 19:37:55 +01:00
adam closed this issue 2025-12-29 19:37:56 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (May 11, 2022):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (May 11, 2022): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Jun 11, 2022):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jun 11, 2022): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6196