build-address added tested

This commit is contained in:
2025-11-18 16:25:03 +03:00
parent 6a5acd28db
commit 688576a1de
129 changed files with 8116 additions and 385 deletions

View File

@@ -213,7 +213,5 @@ export const dateGetter = (str: string | undefined): Date | null => {
export const dateSetter = (date: Date | null): string => {
if (!date) return "";
const fmt = (n: number) => String(n).padStart(2, "0");
return `${fmt(date.getDate())}/${fmt(date.getMonth() + 1)}/${date.getFullYear()} ${fmt(
date.getHours()
)}:${fmt(date.getMinutes())}:${fmt(date.getSeconds())}`;
return `${fmt(date.getDate())}/${fmt(date.getMonth() + 1)}/${date.getFullYear()} ${fmt(date.getHours())}:${fmt(date.getMinutes())}:${fmt(date.getSeconds())}`;
};