Add moment.js support

This commit is contained in:
Matthew Dillon 2015-03-19 09:17:09 -08:00
parent f8d75d821f
commit c886a51b7d
6 changed files with 27 additions and 6 deletions

View file

@ -0,0 +1,7 @@
function formatDate(date, format) {
return window.moment(date).format(format);
}
export {
formatDate
};