Преглед на файлове

Merge pull request #1928 from samelamin/fix_chat_time

fix date time bug on chat lists
Yifei Zhang преди 1 година
родител
ревизия
dd5b9d420b
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      app/components/chat-list.tsx

+ 1 - 3
app/components/chat-list.tsx

@@ -72,9 +72,7 @@ export function ChatItem(props: {
                 <div className={styles["chat-item-count"]}>
                   {Locale.ChatItem.ChatItemCount(props.count)}
                 </div>
-                <div className={styles["chat-item-date"]}>
-                  {new Date(props.time).toLocaleString()}
-                </div>
+                <div className={styles["chat-item-date"]}>{props.time}</div>
               </div>
             </>
           )}