We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12f4fd commit 5ff9f8bCopy full SHA for 5ff9f8b
1 file changed
src/pages/AdminEvents.tsx
@@ -70,11 +70,6 @@ function toNullableNumber(value: string): number | null {
70
return Number.isFinite(parsed) ? parsed : null;
71
}
72
73
-function toDateTime(value: string): string | null {
74
- const trimmed = value.trim();
75
- return trimmed.length === 0 ? null : trimmed;
76
-}
77
-
78
function toDateTimeInputValue(value?: string | null): string {
79
if (!value) return "";
80
return value.slice(0, 16);
0 commit comments