diff --git a/.github/scripts/combine-results.js b/.github/scripts/combine-results.js index 51bea02..f73de1e 100644 --- a/.github/scripts/combine-results.js +++ b/.github/scripts/combine-results.js @@ -32,11 +32,13 @@ function parseXML(filePath) { function combineResults(playmode, editmode) { const now = new Date(); + now.setHours(now.getHours() + 9); // UTC to KST + 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: [formattedDate], + Generatedon: [formattedDate + ' (KST)'], Author: ['soo-bak'], Assemblies: [parseInt(playmode.Assemblies[0])], Classes: [parseInt(playmode.Classes[0])],