From 67f8b9f37ac94f66ccfa9afad87f5b429a36725b Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Mon, 12 Jun 2023 12:22:10 +0200 Subject: [PATCH] refactor(plop): use short date in template --- plopfile.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plopfile.cjs b/plopfile.cjs index 26ed756..5580309 100644 --- a/plopfile.cjs +++ b/plopfile.cjs @@ -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) {