added watermark settings tab on the branding page and added more package details to the billing page, added a new guest notifications page

This commit is contained in:
Codex Agent
2025-12-17 16:39:25 +01:00
parent efe697f155
commit 5f3e7ae8c8
25 changed files with 2062 additions and 202 deletions

View File

@@ -0,0 +1,8 @@
export function formatGuestMessageDate(value: string | null, locale: string): string {
if (!value) return '—';
const date = new Date(value);
if (Number.isNaN(date.getTime())) {
return value;
}
return date.toLocaleString(locale, { dateStyle: 'medium', timeStyle: 'short' });
}