Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

LocaleUnit

import type { LocaleUnit } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";

The units commonly used in the date formatting or parsing.

type LocaleUnit =
| "second"
| "minute"
| "hour"
| "day"
| "dayOfYear"
| "date"
| "week"
| "month"
| "quarter"
| "year";

§Type

§
"second" | "minute" | "hour" | "day" | "dayOfYear" | "date" | "week" | "month" | "quarter" | "year"
[src]