chore: ticket section implement sse

This commit is contained in:
2026-06-19 18:06:11 +05:30
parent a567a52e26
commit fffd8e3e12
25 changed files with 711 additions and 307 deletions

7
src/utils/date.ts Normal file
View File

@@ -0,0 +1,7 @@
export function formatDate(value: string | null | undefined) {
if (!value) return '-';
return new Intl.DateTimeFormat('en-IN', {
dateStyle: 'medium',
timeStyle: 'short',
}).format(new Date(value));
}

2
src/utils/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from './routes';
export * from './date';