소스 검색

feat: 修改时间格式

weijianghai 2 년 전
부모
커밋
3560b27955
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/resources/application.yml

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

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