type alias DateFormat

Format types supported by the filter

  • full: Full date with weekday (e.g., "Monday, January 1, 2024")
  • long: Long date without weekday (e.g., "January 1, 2024")
  • medium: Medium date with short month (e.g., "Jan 1, 2024")
  • short: Numeric short date (e.g., "01/01/2024")
  • iso: ISO-style date (e.g., "1 Jan 2024")

Definition

"full" | "long" | "medium" | "short" | "iso"

Usage

import { type DateFormat } from ".";