3 lines
98 B
JavaScript
3 lines
98 B
JavaScript
export default function formatDate(date, format) {
|
|
return window.moment(date).format(format);
|
|
}
|