-
Notifications
You must be signed in to change notification settings - Fork 57
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
Dates/Times in UTC? #114
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm not a Go developer by any means, but whilst browsing the AZDO REST API documentation, I noticed that all of the datetimes that it returns are always in UTC.
Here in the UK, we spend half of the year in daylight savings time (BST timezone rather than GMT), which puts us an hour ahead of UTC. This means that the
time.Now()
function in Go will be sending local time rather than UTC. I'm not sure if formatting the time to the correct specification (minTime.Format(time.RFC3339)
) is supposed to alter the time in the request, but it doesn't seem to be doing so according to my AZDO IIS logs.Can someone advise whether UTC is or is not being sent, and if it should be / should not be? I'm happy to contribute some code to augment the
time.Now()
calls if necessary.The text was updated successfully, but these errors were encountered: