timezoneStore
Module-level singleton holding the user's currently selected IANA timezone (e.g. `'America/New_York'`). Drives every timestamp renderer in the UI and the `us…
Module-level singleton holding the user's currently selected IANA timezone (e.g. `'America/New_York'`). Drives every timestamp renderer in the UI and the `useTimezoneFormatter` adapter hook.
import { createTimezoneStore } from "@tetherto/mdk-ui-core";State
| Name | Signature |
|---|---|
timezone | string |
Actions
| Name | Signature |
|---|---|
setTimezone | (timezone: string) => void |