DRY pass #2, batch 8: the web's leftovers (#5372)

- notes/datetime.ts formatLocalDay had no caller; removed.
- style.css set body in two consecutive blocks; they are one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 15:01:13 -04:00
co-authored by Claude Opus 5.5
parent fae03c7eca
commit e911f1d757
2 changed files with 0 additions and 9 deletions
-6
View File
@@ -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 <input type="date"> 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
-3
View File
@@ -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;
}