Format
Date & Time
The date and time format for files/folders displayed in the file tree.
| Value | Description |
|---|---|
local | Format based on user's localized date format (e.g. 12.1.2024, 04:36:30 in German) |
utc | UTC time (e.g. 2021-08-01 12:32:55 UTC) |
relative (Default) | Relative time based on user's localized date format (e.g. 2 days ago in English) |
All times will be displayed in the user's local timezone.
When using the relative format you can override the language by setting the environment variable DATE_FORMAT_RELATIVE_LANG (e.g. DATE_FORMAT_RELATIVE_LANG=de will output relative times in German). By default it uses the locale of the user.
⚙️ Configuration
| Variable | Default | Values | Details |
|---|---|---|---|
| DATE_FORMAT | relative | local utc relative | added in v2.0 |
| DATE_FORMAT_RELATIVE_LANG | <empty> | en de ... | added in v2.0 |
How to set configuration options
Set the environment variables when starting the container.
Use
Use
docker run...- ...with
-e DATE_FORMAT=relative - ...with
--env-file .envand placeDATE_FORMAT=relativein the file