Parcourir la source

feat: 修改时间格式

weijianghai il y a 2 ans
Parent
commit
3560b27955
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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