feat: analytics
This commit is contained in:
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user