feat: entry editor at /content/:key/new and /content/:key/:id

This commit is contained in:
Florian Sylvain committed 2026-10-21 00:12:34 +02:00
1 parent 91d916fb74
commit fba20f83c5
94 files changed
+7116 -423

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { formatAbsoluteDateFromIso } from '@/lib/relativeDate'
import { formatClock } from '@/lib/updateFormat'
export function formatEntryStamp(iso: string) {
return `${formatAbsoluteDateFromIso(iso)}, ${formatClock(new Date(iso))}`
}
export function formatSavedClock(iso: string) {
return formatClock(new Date(iso))
}