const timeFormatter = new Intl.DateTimeFormat(locale, {
hour: "numeric",
minute: "numeric",
- second: "numeric",
});
const dateTimeFormatter = new Intl.DateTimeFormat(locale, {
year: "numeric",
month: "long",
hour: "numeric",
minute: "numeric",
- second: "numeric",
});
/**
* Returns the formatted date.