Skip to main content

Timezone

The application user interface date and time will be displayed according to the browser's settings. However, for logging and notification purposes, the application will use the value defined in the TZ environment variable to format time zones.

The default value is TZ=Europe/London if this environment variable is not set.

note

The language and locale settings (number and date formats) for notifications can be configured in the Settings → Templates.

Configuring the Timezone

The application user interface date and time will be displayed according to the browser's settings. However, for logging and notification purposes, the application will use the value defined in the TZ environment variable to format time zones.

The default value is TZ=Europe/London if this environment variable is not set.

For example, to change the timezone to São Paulo, add these lines to the compose.yml in directory duplistatus:

environment:
- TZ=America/Sao_Paulo

or pass the environment variable in the command line (Docker or Podman):

  --env TZ=America/Sao_Paulo

Using your Linux Configuration

To obtain your Linux host's configuration, you can execute:

echo TZ=\"$(</etc/timezone)\"

List of Timezones

You can find a list of timezones here: Wikipedia: List of tz database time zones