7 lines
109 B
JavaScript
7 lines
109 B
JavaScript
function formatDate(date, format) {
|
|
return window.moment(date).format(format);
|
|
}
|
|
|
|
export {
|
|
formatDate
|
|
};
|