7 lines
140 B
TypeScript

export const DateFormatter = new Intl.DateTimeFormat(undefined, {
timeZone: 'UTC',
month: 'short',
year: 'numeric',
day: 'numeric',
});