Skip to content

dateFullFormatter

Returns a function that labels any date exactly as formatDateFull would against dataArray, reading the interval its dates step by once up front.

Parameters

import {dateFullFormatter} from "@d3plus/format";
dataArrayrequiredArray.<Date>

The full array of ordered Date Objects.

formatterDateFormatterDefault timeFormat

Optional custom format string or function.