backend logic
This commit is contained in:
@@ -25,7 +25,7 @@ interface RouteFormProps {
|
||||
description: string
|
||||
}
|
||||
|
||||
const formatDateToHTML = (date: Date) => {
|
||||
export const formatDateToHTML = (date: Date) => {
|
||||
const year = date.getFullYear()
|
||||
const month = String(date.getMonth() + 1).padStart(2, '0')
|
||||
const day = String(date.getDate()).padStart(2, '0')
|
||||
|
||||
Reference in New Issue
Block a user