forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #1928 from samelamin/fix_chat_time
fix date time bug on chat lists
This commit is contained in:
commit
dd5b9d420b
@ -72,9 +72,7 @@ export function ChatItem(props: {
|
|||||||
<div className={styles["chat-item-count"]}>
|
<div className={styles["chat-item-count"]}>
|
||||||
{Locale.ChatItem.ChatItemCount(props.count)}
|
{Locale.ChatItem.ChatItemCount(props.count)}
|
||||||
</div>
|
</div>
|
||||||
<div className={styles["chat-item-date"]}>
|
<div className={styles["chat-item-date"]}>{props.time}</div>
|
||||||
{new Date(props.time).toLocaleString()}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user