export const formatUnixTimestamp = (timestamp: number): string => {
    const date = new Date(timestamp * 1000) // Convert seconds to milliseconds

    const day = date.getDate().toString().padStart(2, "0")
    const month = (date.getMonth() + 1).toString().padStart(2, "0") // Months are 0-based
    const year = date.getFullYear()

    const hours = date.getHours().toString().padStart(2, "0")
    const minutes = date.getMinutes().toString().padStart(2, "0")

    return `${day}-${month}-${year} ${hours}:${minutes}`
}
