export default function formatDate(date, format) { return window.moment(date).format(format); }