fix: remove duplicate fmtTime declaration in OrderDetailPanel

This commit is contained in:
root 2026-07-13 11:26:31 +00:00
parent 0821bcc747
commit edb6784c16
1 changed files with 0 additions and 8 deletions

View File

@ -68,14 +68,6 @@ const fmtTime = (ts) => {
} catch { return "—"; }
};
const fmtTime = (ts) => {
if (!ts) return "—";
try {
const d = new Date(ts);
return d.toLocaleString("ru-RU", { day: "2-digit", month: "2-digit", year: "numeric", hour: "2-digit", minute: "2-digit" });
} catch { return "—"; }
};
const DELIVERY_TIME_OPTIONS = ["Первая половина дня", "Вторая половина дня"];
const STATUS_LABELS = DELIVERY_GROUP_STATUS_LABELS;