MCPcopy Index your code
hub / github.com/coder/coder / TimezoneOffsetHour

Function TimezoneOffsetHour

codersdk/deployment.go:5263–5265  ·  view source on GitHub ↗
(loc *time.Location)

Source from the content-addressed store, hash-verified

5261}
5262
5263func TimezoneOffsetHour(loc *time.Location) int {
5264 return TimezoneOffsetHourWithTime(time.Now(), loc)
5265}
5266
5267func (c *Client) DeploymentDAUsLocalTZ(ctx context.Context) (*DAUsResponse, error) {
5268 return c.DeploymentDAUs(ctx, TimezoneOffsetHour(time.Local))

Callers 4

TestDeploymentInsightsFunction · 0.92
TestTemplateMetricsFunction · 0.92
TemplateDAUsLocalTZMethod · 0.85
DeploymentDAUsLocalTZMethod · 0.85

Calls 1

Tested by 2

TestDeploymentInsightsFunction · 0.74
TestTemplateMetricsFunction · 0.74