Set the timezone for the Java environment
プラットフォームについて: サーバーと Data Center のみ。この記事は、サーバーおよび Data Center プラットフォームのアトラシアン製品にのみ適用されます。
概要
Functionality within Jira applications may be reliant upon the timezone that is configured for the Java environment. The timezone value will be picked up by default from the operating system, however it is possible to alter this default by passing an additional parameter to the Java Virtual Machine (JVM).
タイムゾーンは、Java を実行しているサーバーの時計を変更するか、次の説明のようにプロパティを変更することで変更できます。
Changing the Timezone
The value of the timezone can be altered with the below JVM argument, which is set as per our Setting Properties and Options on Startup documentation. The below example would be used to set it for America/Chicago:
-Duser.timezone=America/Chicago
Jira's database should be set to the same timezone as the Java environment, to avoid issues such as Incorrect timestamps displayed in Jira server. How to change the database timezone will differ depending on the type of database being used; your database documentation will be the best guide.
For a Jira Data Center installation, all Jira nodes and the database should be set to the same timezone, to avoid issues such as Cluster Index Replication health check reports delay when the database is in a different timezone than Jira.
The List of TZ Database Time Zones documentation on Wikipedia contains further information on the different Timezones that can be set.
タイムゾーンの例
タイムゾーン | コード |
---|---|
シドニー | Australia/Sydney |
ロサンゼルス | America/Los_Angeles |
ニューヨーク | America/New_York |
パリ | Europe/Paris |
ローマ | Europe/Rome |
UTC | UTC |
マドリード | Europe/Madrid |