Browse Source

修改默认格式化字符

xiaohaizhao 1 year ago
parent
commit
4012abed21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/getTime.js

+ 1 - 1
utils/getTime.js

@@ -1,4 +1,4 @@
-const formatTime = (date = new Date(), j1 = '/', j2 = ':') => {
+const formatTime = (date = new Date(), j1 = '-', j2 = ':') => {
     const year = date.getFullYear()
     const month = date.getMonth() + 1
     const day = date.getDate()