diff --git a/frontend/src/notes/datetime.ts b/frontend/src/notes/datetime.ts index 1b98afe..d828d84 100644 --- a/frontend/src/notes/datetime.ts +++ b/frontend/src/notes/datetime.ts @@ -50,12 +50,6 @@ export function addLocalDays(d: Date, days: number): Date { return new Date(d.getFullYear(), d.getMonth(), d.getDate() + days); } -// Format a local Date as "YYYY-MM-DD" (the shape an reads). -export function formatLocalDay(d: Date): string { - const pad = (n: number) => String(n).padStart(2, "0"); - return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`; -} - // --- Trash retention. The server permanently deletes a trashed note once it's older // than `trash_retention_days` (0 = keep forever). Counting down from the note's own // deleted_at is what turns that from a surprise into a policy: a card in Trash can diff --git a/frontend/src/style.css b/frontend/src/style.css index 162ffce..e2b2f09 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -35,9 +35,6 @@ body, body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); -} - -body { @apply bg-neutral-50 text-neutral-900 antialiased; }