diff --git a/dist/index.js b/dist/index.js index fbc81a2..ebed05f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6126,7 +6126,8 @@ async function doQueryIssues (owner, repo, labels, state) { if (a && b) { if (inactiveDay && typeof(inactiveDay) === 'number') { let lastTime = dayjs.utc().subtract(inactiveDay, 'day'); - if (iss.updated_at.isSameOrBefore(lastTime)) { + let updateTime = dayjs.utc(iss.updated_at); + if (updateTime.isSameOrBefore(lastTime)) { issues.push(iss); } } else {