Browse Source

feat: 修改时间格式

weijianghai 2 years ago
parent
commit
3560b27955
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/application.yml

+ 1 - 0
src/main/resources/application.yml

@@ -11,6 +11,7 @@ spring:
     active: dev
   jackson:
     time-zone: Asia/Shanghai
+    date-format: yyyy-MM-dd HH:mm:ss
   thymeleaf:
     prefix: classpath:/templates/
     mode: HTML