瀏覽代碼

修改默认格式化字符

xiaohaizhao 1 年之前
父節點
當前提交
4012abed21
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()