Skip to content

Dates/Times in UTC? #114

@cbat98

Description

@cbat98

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions