1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #10729: Add date & time custom field type (#11857)

* Add datetime custom field type

* Update custom field tests
This commit is contained in:
Jeremy Stretch
2023-02-28 13:33:40 -05:00
committed by GitHub
parent 7994073687
commit 5517963b24
7 changed files with 108 additions and 31 deletions

View File

@ -16,6 +16,7 @@ Custom fields may be created by navigating to Customization > Custom Fields. Net
* Decimal: A fixed-precision decimal number (4 decimal places)
* Boolean: True or false
* Date: A date in ISO 8601 format (YYYY-MM-DD)
* Date & time: A date and time in ISO 8601 format (YYYY-MM-DD HH:MM:SS)
* URL: This will be presented as a link in the web UI
* JSON: Arbitrary data stored in JSON format
* Selection: A selection of one of several pre-defined custom choices