Customizing a Decision Center time zone
You might need to change the default JVM setting for the time zone in Decision Center as it is set to Central European Time (CET). By changing a JVM argument to a different time zone, you can change the dates and calendars you see in the user interface.
Before you begin
About this task
When you install an ODM release the following configmap files are created, which define the default Liberty server JVM arguments for each ODM component.
| Component | Name of configmap |
|---|---|
| Decision Center | <release_name>-odm-dc-jvm-options-configmap |
| Decision Runner | <release_name>-odm-dr-jvm-options-configmap |
| Decision Server Console | <release_name>-odm-ds-console-jvm-options-configmap |
| Decision Server Runtime | <release_name>-odm-ds-runtime-jvm-options-configmap |
Where <release_name> is the name you gave to the release when you configured it.
By default, the only JVM argument in the Decision Center configmap file is the time zone.
-Duser.timezone=Europe/Paris
Procedure
To change the Decision Center time zone:
Results
After the pods restart, the /config/configDropins/overrides/jvm.options file is updated in the ODM containers and the Liberty server JVM uses the new arguments.