feat(frontend): Add DeleteModal
This commit is contained in:
10
legalconsenthub/utils/date.ts
Normal file
10
legalconsenthub/utils/date.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export function formatDate(date: Date): string {
|
||||
return date.toLocaleString('de-DE', {
|
||||
weekday: 'short',
|
||||
day: '2-digit',
|
||||
month: '2-digit',
|
||||
year: '2-digit',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user