Timezone
The application user interface date and time will be displayed according to the browser's settings. Logging still uses the TZ environment variable. Daily Summary notifications use the IANA timezone saved in Settings → Daily Summary, not TZ. Other notification timestamps that are not Daily Summary still follow TZ.
The default value is TZ=Europe/London if this environment variable is not set.
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. Logging still uses the TZ environment variable. Daily Summary notifications use the IANA timezone saved in Settings → Daily Summary, not TZ. Other notification timestamps that are not Daily Summary still follow TZ.
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