resolveDashboardTimezoneInfo()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Resolves the dashboard timezone configuration to displayable timezone information: a concrete IANA timezone ID, the friendly name and the UTC offset label.
When effectiveTimezoneId is provided (the concrete IANA ID already preferred by the dashboard — including any session-only view-mode override), it takes precedence. Otherwise falls back to the configured timezone (resolving the browser-detected sentinel) and then to the effective workspace/organization timezone.
export declare function resolveDashboardTimezoneInfo(timezoneConfig: IDashboardTimezoneConfig | undefined, defaultTimezone?: string, effectiveTimezoneId?: string): IDashboardTimezoneInfo | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
timezoneConfig | IDashboardTimezoneConfig | undefined | |
defaultTimezone | string | (Optional) |
effectiveTimezoneId | string | (Optional) |
Returns
IDashboardTimezoneInfo | undefined