> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# normalizeDashboardTimezoneConfig()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/dashboard/dashboard.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Normalizes a dashboard timezone configuration to its canonical shape: unset and default (false/empty) properties are dropped, and a configuration with no effective values collapses to undefined. Apply before storing the configuration in state or persisting it, so that "all defaults" is always represented as an absent configuration rather than an empty object.

**Signature:**

```typescript
export declare function normalizeDashboardTimezoneConfig(config: IDashboardTimezoneConfig | undefined): IDashboardTimezoneConfig | undefined;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| config | [IDashboardTimezoneConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardtimezoneconfig/index.md) \| undefined | timezone configuration to normalize |

**Returns:**

[IDashboardTimezoneConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idashboardtimezoneconfig/index.md) &#124; undefined

## Remarks

`allowUserOverrideInViewMode` is kept when it is an explicit boolean (including `false`) so that a dashboard can override the organization/workspace `enableTimezoneChange` default. `showTimezoneInfo` still drops `false` because its default is always off.
