Skip to content

Commit

Permalink
[add] - 監査ログでの"変更"IDに時間を追加するように
Browse files Browse the repository at this point in the history
  • Loading branch information
NfoAlex committed Jun 9, 2023
1 parent 312523d commit ec878a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infoUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,10 +537,11 @@ let recordModeration = function recordModeration(actionBy,actionTo,actionInfo) {
let tY = t.getFullYear();
let tM = (t.getMonth()+1).toString().padStart(2,0);
let tD = t.getDate().toString().padStart(2,0);
let tTime = t.getHours().toString().padStart(2,0) + t.getMinutes().toString().padStart(2,0) + t.getSeconds().toString().padStart(2,0);
let tDateForName = tY + "_" + tM + "_" + tD;

//変更ID(actionId)用
let fullDate = tY+tM+tD;
let fullDate = tY+tM+tD+tTime;

//JSONのファイル名
let nameOfJson = "modlog_" + tDateForName;
Expand Down

0 comments on commit ec878a3

Please sign in to comment.