浏览代码

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
   jackson:
     time-zone: Asia/Shanghai
+    date-format: yyyy-MM-dd HH:mm:ss
   thymeleaf:
     prefix: classpath:/templates/
     mode: HTML