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

Function resetLocalTimeZone

packages/@internationalized/date/src/queries.ts:155–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153
154/** Resets the time zone identifier for the current user. */
155export function resetLocalTimeZone(): void {
156 localTimeZoneOverride = false;
157 localTimeZone = null;
158}
159
160/** Returns whether the local time zone has been explicitly overridden via `setLocalTimeZone`. */
161export function isLocalTimeZoneOverridden(): boolean {

Callers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected