From 3c377ff54a9b13ff519bc1d67e4528ec186967d5 Mon Sep 17 00:00:00 2001 From: Tq Date: Tue, 22 Mar 2022 19:38:46 +0800 Subject: [PATCH] [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 --- dolphinscheduler-api/src/main/resources/application.yaml | 3 ++- dolphinscheduler-python/src/main/resources/application.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-api/src/main/resources/application.yaml b/dolphinscheduler-api/src/main/resources/application.yaml index 72a6cd3a9..02b64b148 100644 --- a/dolphinscheduler-api/src/main/resources/application.yaml +++ b/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 diff --git a/dolphinscheduler-python/src/main/resources/application.yaml b/dolphinscheduler-python/src/main/resources/application.yaml index 8c60ac1f6..b899c0363 100644 --- a/dolphinscheduler-python/src/main/resources/application.yaml +++ b/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