refactor: 统一玩家端时间格式化方法并移除冗余本地时间工具
This commit is contained in:
@@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Skeleton } from "@/components/ui/skeleton";
|
||||
import { formatLocalDateTime } from "@/lib/format-local-datetime";
|
||||
import { formatPlayerInstant } from "@/lib/player-datetime";
|
||||
import { formatMinorAsCurrency } from "@/lib/money";
|
||||
import type { WalletLogItem, WalletLogsData } from "@/types/api/wallet-logs";
|
||||
|
||||
@@ -225,7 +225,7 @@ export function LogRow({
|
||||
</p>
|
||||
</div>
|
||||
<p className="mt-1.5 text-xs font-medium text-slate-500">
|
||||
{formatLocalDateTime(item.created_at)}
|
||||
{formatPlayerInstant(item.created_at)}
|
||||
</p>
|
||||
{item.ref_id ? (
|
||||
<p className="mt-1 truncate font-mono text-[11px] text-slate-400">
|
||||
|
||||
Reference in New Issue
Block a user