Commit 61cd67db authored by Sophia's avatar Sophia

fix player join time parsing error

parent d651f653
......@@ -58,7 +58,7 @@ declare const ROOM_all: Array<{
name: string; // 플레이어 이름
lang: string; // 언어
pass: string; // 접속 방 제목
join_time: import("moment").Moment; // 접속 시간
join_time: moment.Moment; // 접속 시간
pos: number; // 방 슬롯 정보
main: number[]; // 메인 + 엑스트라 덱 카드 ID 배열
side: number[]; // 사이드 덱 카드 ID 배열
......@@ -179,7 +179,7 @@ ygopro.stoc_follow("DUEL_START", false, async (buffer, info, client) => {
return {
ip: player.ip,
name: player.name,
joinTime: player.join_time.format("YYYY-MM-DD HH:mm:ss"),
joinTime: moment(player.join_time).format("YYYY-MM-DD HH:mm:ss"),
pos: player.pos,
lang: player.lang,
pass: player.pass,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment