Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dayjs/types/locale/types.d.ts>ILocale

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Go to Latest
interface ILocale
import { type ILocale } from "https://deno.land/x/dayjs@v1.10.2/types/locale/types.d.ts";

Properties

name: string
optional
weekdays: string[]
optional
months: string[]
optional
weekStart: number
optional
weekdaysShort: string[]
optional
monthsShort: string[]
optional
weekdaysMin: string[]
optional
ordinal: (n: number) => number | string
formats: Partial<{ LT: string; LTS: string; L: string; LL: string; LLL: string; LLLL: string; }>
relativeTime: Partial<{ future: string; past: string; s: string; m: string; mm: string; h: string; hh: string; d: string; dd: string; M: string; MM: string; y: string; yy: string; }>