A Zod schema for validating time zone strings. It ensures that only valid time zones from the Timezone object are accepted.
z.ZodType<string>
A Zod schema for validating time zone strings. It ensures that only valid time zones from the Timezone object are accepted.
z.ZodType<string>
Add Package
deno add jsr:@dnl-fm/zeit-ts
Import symbol
import { TimezoneSchema } from "@dnl-fm/zeit-ts";
---- OR ----
Import directly with a jsr specifier
import { TimezoneSchema } from "jsr:@dnl-fm/zeit-ts";
Add Package
npx jsr add @dnl-fm/zeit-ts
Import symbol
import { TimezoneSchema } from "@dnl-fm/zeit-ts";
Add Package
yarn dlx jsr add @dnl-fm/zeit-ts
Import symbol
import { TimezoneSchema } from "@dnl-fm/zeit-ts";
Add Package
pnpm dlx jsr add @dnl-fm/zeit-ts
Import symbol
import { TimezoneSchema } from "@dnl-fm/zeit-ts";
Add Package
bunx jsr add @dnl-fm/zeit-ts
Import symbol
import { TimezoneSchema } from "@dnl-fm/zeit-ts";