You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/04/15 05:56:47 UTC

[GitHub] [dolphinscheduler] zhongjiajie commented on a diff in pull request #9503: [Improvement][doc] update time zone doc

zhongjiajie commented on code in PR #9503:
URL: https://github.com/apache/dolphinscheduler/pull/9503#discussion_r850373700


##########
docs/docs/en/guide/howto/general-setting.md:
##########
@@ -14,9 +14,17 @@ of to [language](#language) control button.
 
 ## Time Zone
 
-DolphinScheduler support time zone setting. The build-in time zone is based on the server you run DolphinScheduler. You could
+DolphinScheduler support time zone setting. 
+
+Server Time Zone

Review Comment:
   ```suggestion
   ### Server Time Zone
   ```



##########
docs/docs/en/guide/howto/general-setting.md:
##########
@@ -14,9 +14,17 @@ of to [language](#language) control button.
 
 ## Time Zone
 
-DolphinScheduler support time zone setting. The build-in time zone is based on the server you run DolphinScheduler. You could
+DolphinScheduler support time zone setting. 
+
+Server Time Zone
+
+The default time zone is UTC when using `bin/dolphinshceduler_daemon.sh` to start the server, you could update `SPRING_JACKSON_TIME_ZONE` in `bin/env/dolphinscheduler_env.sh`, such as `export SPRING_JACKSON_TIME_ZONE=${SPRING_JACKSON_TIME_ZONE:-Asia/Shanghai}`.<br>
+If you start server in IDEA, the default time zone is your local time zone, you could add the JVM parameter to update server time zone, such as `-Duser.timezone=UTC`. Time zone list refer to [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
+
+User Time zone

Review Comment:
   ```suggestion
   ### User Time zone
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org