Skip to content

Commit

Permalink
Update date format in getCurrentDate function to yyyy-MM-dd-HHmm-ss
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Nov 16, 2024
1 parent 250278c commit ad9834c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/utils/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function nowISO(): string {

export function getCurrentDate() {
const now = DateTime.now()
const formattedDate = now.toFormat('YYYY-MM-DD HH:mm:ss')
const formattedDate = now.toFormat('yyyy-MM-dd-HHmm-ss')
return formattedDate
}

Expand Down

0 comments on commit ad9834c

Please sign in to comment.