fix: 날짜 표시 UTC → KST 변환 (admin 페이지들)

This commit is contained in:
thug0bin
2026-03-07 11:38:37 +09:00
parent c1fae04344
commit d842c776c9
9 changed files with 642 additions and 11 deletions

View File

@@ -651,7 +651,8 @@
</thead>
<tbody>
${logs.map(log => {
const date = new Date(log.created_at);
// DB는 UTC로 저장 → 'Z' 붙여서 UTC로 해석 → KST로 표시
const date = new Date(log.created_at + 'Z');
const dateStr = date.toLocaleString('ko-KR', {
month: '2-digit',
day: '2-digit',