Skip to content

Commit

Permalink
⚗️ Test for CI System (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
soo-bak committed Jul 28, 2024
1 parent b982090 commit 64f1f5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/combine-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])],
Expand Down

0 comments on commit 64f1f5a

Please sign in to comment.