I am trying to create an app that displays a clock with the correct time for the ticket requesters timezone. When i request the users timezone offset from the Zendesk API i get a value for about a second and then it turns into a NaN value. i have no idea why this is happening and it messes up my code because whenever i try to use the offset for a computation in the GetClock(data) function the product always comes back as NaN or Undefined. Here is a screenshot of my code
Please sign in to leave a comment.