Skip to content
0

katanakit-js / AppDateFormatOptionsSchema

Variable: AppDateFormatOptionsSchema ​

ts
const AppDateFormatOptionsSchema: ZodObject<{
  day: ZodOptional<ZodEnum<{
     2-digit: "2-digit";
     numeric: "numeric";
  }>>;
  month: ZodOptional<ZodEnum<{
     2-digit: "2-digit";
     long: "long";
     narrow: "narrow";
     numeric: "numeric";
     short: "short";
  }>>;
  year: ZodOptional<ZodEnum<{
     2-digit: "2-digit";
     numeric: "numeric";
  }>>;
}, $strip>;

Defined in: src/schemas/core.schema.ts:60

Date format parts (subset of Intl.DateTimeFormatOptions).

Released under the MIT License.