This is an automated email from the ASF dual-hosted git repository.
caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 3c377ff [Bug-9094][API] fix default time-zone conf (#9095)
3c377ff is described below
commit 3c377ff54a9b13ff519bc1d67e4528ec186967d5
Author: Tq <[email protected]>
AuthorDate: Tue Mar 22 19:38:46 2022 +0800
[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 72a6cd3..02b64b1 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 8c60ac1..b899c03 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