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

Localize

The object with functions used to localize various values. Part of the public locale API.

interface Localize {
month: LocalizeFn<Month>;
ordinalNumber: LocalizeFn<number>;
preprocessor?: <DateType extends Date>(date: DateType, parts: FormatPart[]) => FormatPart[];
quarter: LocalizeFn<Quarter>;
}

§Properties

§

The function that localizes the day of the week

§

The function that localizes the day period

§

The function that localized the era

§

The function that localizes the month

§
ordinalNumber: LocalizeFn<number>
[src]

The function that localizes an ordinal number

§
preprocessor?: <DateType extends Date>(date: DateType, parts: FormatPart[]) => FormatPart[]
[src]

The function that can preprocess parts/tokens *

§

The function that localizes the quarter