sundays/src/utils/date.js

8 lines
206 B
JavaScript
Raw Normal View History

2026-06-05 14:31:12 -06:00
export const dateFormat = (d) => {
const formatter = new Intl.DateTimeFormat('en-US', {
year: 'numeric',
month: 'long',
day: 'numeric',
});
return formatter.format(d);
};