fix: strip timezone information from a date in dau response (#11962)

* fix: strip timezone information from a date in dau response

Timezone information is lost, so do not forward it to the client.

* fix: timezone offset should be flipped
* Make tests deterministic
This commit is contained in:
Steven Masley
2024-01-31 16:01:50 -06:00
committed by GitHub
parent 76e73287a5
commit ac64155282
12 changed files with 111 additions and 67 deletions

4
coderd/apidoc/docs.go generated
View File

@ -8877,8 +8877,8 @@ const docTemplate = `{
"type": "integer"
},
"date": {
"type": "string",
"format": "date-time"
"description": "Date is a string formatted as 2024-01-31.\nTimezone and time information is not included.",
"type": "string"
}
}
},