From b9820900021bee16e31383fd1e73baf1ad0d6086 Mon Sep 17 00:00:00 2001 From: soo-bak Date: Sun, 28 Jul 2024 21:37:05 +0900 Subject: [PATCH] :alembic: Test for CI System (#36) --- .github/scripts/combine-results.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/scripts/combine-results.js b/.github/scripts/combine-results.js index b4aafa5..51bea02 100644 --- a/.github/scripts/combine-results.js +++ b/.github/scripts/combine-results.js @@ -31,8 +31,12 @@ function parseXML(filePath) { } function combineResults(playmode, editmode) { + const now = new Date(); + const formattedDate = `${(now.getMonth() + 1).toString().padStart(2, '0')}/${now.getDate().toString().padStart(2, '0')}/${now.getFullYear()} - ${now.getHours() + .toString().padStart(2, '0')}:${now.getMinutes().toString().padStart(2, '0')}:${now.getSeconds().toString().padStart(2, '0')}`; + return { - Generatedon: [playmode.Generatedon], + Generatedon: [formattedDate], Author: ['soo-bak'], Assemblies: [parseInt(playmode.Assemblies[0])], Classes: [parseInt(playmode.Classes[0])],