formatTime

Source
import { formatTime } from "@prestojs/util";
formatTime(parts,?options)
Source

Arguments:

ArgumentTypeDescription
*partsDate|
options
An object with the properties below
options.localeOptions
options.localesstring|string[]
Returns:string