The simpler the better. Here’s a dead simple date formatter snippet that works in all modern browsers as well as node apps. // define formatter
const locale = 'en-US';
const options = {
year: 'numeric',
month: 'short',
day: 'numeric',
hour: 'numeric',
minute: '2-digit'
};
const formatter = new Intl.DateTimeFormat(locale, options); …