Skip to content

TypeScript API / laikacms/core / IsoDateWithFallbackSchema

Variable: IsoDateWithFallbackSchema ​

ts
const IsoDateWithFallbackSchema: DateTimeUtcFromString = S.DateTimeUtcFromString;

Effect Schema for ISO date strings. Uses the built-in DateTimeUtcFromString which handles ISO 8601 format. For optional date fields, use S.optional(IsoDateWithFallbackSchema).

Released under the MIT License.