Skip to main content

formatDay

Words for the UTC day of date in locale (formatLocale(catalogue)), for example "11 November 2026".

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { formatDay } from "@mapcairn/core";

function formatDay(date: Date, locale: string): string;

Parameters​

  • date (Date)
  • locale (string)

Returns​

string

Source: packages/core/src/format/format.ts:167