xiezhiming 8 месяцев назад
Родитель
Сommit
22d7543ffe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/js/qcScore.js

+ 1 - 1
src/js/qcScore.js

@@ -1220,7 +1220,7 @@ $(function () {
       const year = date.getFullYear()
       const month = fillZero(date.getMonth())
       const day = fillZero(date.getDate())
-      const hour = fillZero(date.getDate())
+      const hour = fillZero(date.getHours())
       const minute = fillZero(date.getMinutes())
       const second = fillZero(date.getSeconds())
       return `${year}-${month}-${day} ${hour}:${minute}:${second}`