import { type Intl } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.unstable.d.ts";
const { DateTimeFormat } = Intl;
Methods
Format a date into a string according to the locale and formatting
options of this Intl.DateTimeFormat
object.
Allow locale-aware formatting of strings produced by
Intl.DateTimeFormat
formatters.
Format a date range in the most concise way based on the locale and
options provided when instantiating this Intl.DateTimeFormat
object.
Allow locale-aware formatting of tokens representing each part of the
formatted date range produced by Intl.DateTimeFormat
formatters.