Basic setup

This commit is contained in:
Stefan Imhoff
2021-04-28 18:07:37 +02:00
commit 6bdc7366b7
36 changed files with 22222 additions and 0 deletions

10
src/utils/filters.js Normal file
View File

@@ -0,0 +1,10 @@
const moment = require('moment');
module.exports = {
dateToFormat: function (date, format = 'MMMM Do, YYYY') {
return moment(date).format(format);
},
dateToISO: function (date) {
return moment(date).format();
},
};