MCPcopy Create free account
hub / github.com/adobe/react-spectrum / setLocalTimeZone

Function setLocalTimeZone

packages/@internationalized/date/src/queries.ts:149–152  ·  view source on GitHub ↗
(timeZone: string)

Source from the content-addressed store, hash-verified

147
148/** Sets the time zone identifier for the current user. */
149export function setLocalTimeZone(timeZone: string): void {
150 localTimeZoneOverride = true;
151 localTimeZone = timeZone;
152}
153
154/** Resets the time zone identifier for the current user. */
155export function resetLocalTimeZone(): void {

Callers 2

conversion.test.jsFile · 0.85
queries.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected