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:
8
resources/js/admin/mobile/guestMessages.ts
Normal file
8
resources/js/admin/mobile/guestMessages.ts
Normal 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' });
|
||||
}
|
||||
Reference in New Issue
Block a user