Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomField of the type DateTime #10729

Closed
PieterL75 opened this issue Oct 24, 2022 · 3 comments
Closed

CustomField of the type DateTime #10729

PieterL75 opened this issue Oct 24, 2022 · 3 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@PieterL75
Copy link
Contributor

NetBox version

v3.2.9

Feature type

New functionality

Proposed functionality

Create a new Custom Field of the type 'DateTime'

Use case

I need to store date and time values in a custom field. Currently this is only possible in a text field, but then the sorting is off.
A date-time fieldtype could be very useful,

Database changes

No response

External dependencies

No response

@PieterL75 PieterL75 added the type: feature Introduction of new functionality to the application label Oct 24, 2022
@jeremystretch jeremystretch added the status: under review Further discussion is needed to determine this issue's scope and/or implementation label Oct 24, 2022
@jeremystretch
Copy link
Member

Closing this as it might involve working with timezones again. /s

This is probably doable if we normalize to an ISO timestamp. I assume we'd store values using the system's timezone and adjust on display to the user.

@PieterL75
Copy link
Contributor Author

since NetBox is in only one timezone (and not per user), it would be good to store the UTC timestamp and convert it to the timezone of NetBox during the display.

@github-actions
Copy link
Contributor

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. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Dec 26, 2022
@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release status: accepted This issue has been accepted for implementation and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation pending closure Requires immediate attention to avoid being closed for inactivity needs milestone Awaiting prioritization for inclusion with a future NetBox release labels Jan 5, 2023
@jeremystretch jeremystretch added this to the v3.5 milestone Jan 5, 2023
@jeremystretch jeremystretch self-assigned this Feb 28, 2023
jeremystretch added a commit that referenced this issue Feb 28, 2023
* Add datetime custom field type

* Update custom field tests
jeremystretch added a commit that referenced this issue Mar 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants