Skip to content

Commit

Permalink
used the wrong datetime format string
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf committed May 23, 2024
1 parent 9fe8723 commit f7e5e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babex-vue/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function formatTime(date: Date): string {


function formatDateTime(date: Date): string {
const format = '%Y-%m-%d %H:%M';
const format = '%d-%m-%Y %H:%M';
const parts = {
Y: date.getFullYear(),
m: date.getMonth() + 1,
Expand Down

0 comments on commit f7e5e78

Please sign in to comment.