feat: analytics

This commit is contained in:
ferdiansyah783
2025-08-07 23:48:31 +07:00
parent a5d22db27b
commit 687f59a9fa
10 changed files with 1651 additions and 85 deletions
+7
View File
@@ -15,3 +15,10 @@ export const formatDate = (dateString: string) => {
minute: '2-digit'
})
}
export const formatDateDDMMYYYY = (date: Date) => {
const day = String(date.getDate()).padStart(2, '0')
const month = String(date.getMonth() + 1).padStart(2, '0')
const year = date.getFullYear()
return `${day}-${month}-${year}`
}