You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2020/06/20 14:57:57 UTC

[incubator-dolphinscheduler] branch dev updated: Set default time zone (#3006)

This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 45785db  Set default  time zone (#3006)
45785db is described below

commit 45785dbaef6468d7669624da5b284b86d14f1909
Author: BoYiZhang <39...@users.noreply.github.com>
AuthorDate: Sat Jun 20 22:57:46 2020 +0800

    Set default  time zone (#3006)
    
    Date type date problem in spring serializing Java
    Solution: Spring serializes Java's date type date problem
    
    Co-authored-by: gabry.wu <ga...@apache.org>
    Co-authored-by: dailidong <da...@gmail.com>
---
 dolphinscheduler-api/src/main/resources/application-api.properties | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dolphinscheduler-api/src/main/resources/application-api.properties b/dolphinscheduler-api/src/main/resources/application-api.properties
index 21f940b..5b8bb5d 100644
--- a/dolphinscheduler-api/src/main/resources/application-api.properties
+++ b/dolphinscheduler-api/src/main/resources/application-api.properties
@@ -23,6 +23,9 @@ server.servlet.session.timeout=7200
 
 server.servlet.context-path=/dolphinscheduler/
 
+# Set time zone
+spring.jackson.time-zone=GMT+8
+
 # file size limit for upload
 spring.servlet.multipart.max-file-size=1024MB
 spring.servlet.multipart.max-request-size=1024MB