Sfoglia il codice sorgente

[Bug-9094][API] fix default time-zone conf (#9095)

* fix the API server default time-zone conf

* fix the Python server default time-zone conf
Tq 3 anni fa
parent
commit
3c377ff54a

+ 2 - 1
dolphinscheduler-api/src/main/resources/application.yaml

@@ -33,7 +33,8 @@ spring:
   main:
     banner-mode: off
   jackson:
-    time-zone: GMT+8
+    time-zone: UTC
+    date-format: "yyyy-MM-dd HH:mm:ss"
   servlet:
     multipart:
       max-file-size: 1024MB

+ 2 - 1
dolphinscheduler-python/src/main/resources/application.yaml

@@ -26,7 +26,8 @@ spring:
     username: sa
     password: ""
   jackson:
-    time-zone: GMT+8
+    time-zone: UTC
+    date-format: "yyyy-MM-dd HH:mm:ss"
   servlet:
     multipart:
       max-file-size: 1024MB