GraphQL site timezone format #5511

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

Originally created by @ryanmerolle on GitHub (Oct 13, 2021).

NetBox version

v3.0.7

Python version

3.8

Steps to Reproduce

graphql query reproducible via https://demo.netbox.dev/graphql/#query=%7B%0A%20%20site_list(id%3A%20%2231%22)%20%7B%0A%20%20%20%20name%0A%20%20%20%20id%0A%20%20%20%20time_zone%0A%20%20%7D%0A%7D%0A

{
  site_list(id: "31") {
    name
    id
    time_zone
  }
}

Expected Behavior

{
  "data": {
    "site_list": [
      {
        "name": "UPRC Digital Systems - Athens",
        "id": "31",
        "time_zone": "EUROPE_ATHENS"
      }
    ]
  }
}

Observed Behavior

{
  "data": {
    "site_list": [
      {
        "name": "UPRC Digital Systems - Athens",
        "id": "31",
        "time_zone": "Europe/Athens"
      }
    ]
  }
}
Originally created by @ryanmerolle on GitHub (Oct 13, 2021). ### NetBox version v3.0.7 ### Python version 3.8 ### Steps to Reproduce graphql query reproducible via https://demo.netbox.dev/graphql/#query=%7B%0A%20%20site_list(id%3A%20%2231%22)%20%7B%0A%20%20%20%20name%0A%20%20%20%20id%0A%20%20%20%20time_zone%0A%20%20%7D%0A%7D%0A ``` { site_list(id: "31") { name id time_zone } } ``` ### Expected Behavior ``` { "data": { "site_list": [ { "name": "UPRC Digital Systems - Athens", "id": "31", "time_zone": "EUROPE_ATHENS" } ] } } ``` ### Observed Behavior ``` { "data": { "site_list": [ { "name": "UPRC Digital Systems - Athens", "id": "31", "time_zone": "Europe/Athens" } ] } } ```
adam added the type: bugstatus: duplicate labels 2025-12-29 19:28:49 +01:00
adam closed this issue 2025-12-29 19:28:49 +01:00
Author
Owner

@ryanmerolle commented on GitHub (Oct 13, 2021):

duplicates #7466

@ryanmerolle commented on GitHub (Oct 13, 2021): duplicates #7466
Author
Owner

@DanSheps commented on GitHub (Oct 13, 2021):

duplicate of #7466

@DanSheps commented on GitHub (Oct 13, 2021): duplicate of #7466
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5511