refactor(plop): use short date in template

This commit is contained in:
Stefan Imhoff
2023-06-12 12:22:10 +02:00
parent a88ed1a84a
commit 67f8b9f37a

View File

@@ -3,7 +3,7 @@ const moment = require('moment');
const currentDir = process.cwd();
const templatePath = 'plop';
const date = moment().format();
const date = moment().format('YYYY-MM-DD');
const year = moment().format('YYYY');
module.exports = function (plop) {