Skip to main content
Version: v2

Format

Date & Time

The date and time format for files/folders can be changed by setting the environment variable DATE_FORMAT when starting the container.

ValueDescription
local (Default)Format based on user's localized date format (e.g. 12.1.2024, 04:36:30 in German)
utcUTC time (e.g. 2021-08-01 12:32:55 UTC)
relativeRelative time (e.g. 2 days ago)

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 when starting the container (e.g. DATE_FORMAT_RELATIVE_LANG=de will output relative times in German). By default it uses the locale of the user.

info

To change it, set the environment variable DATE_FORMAT to a value listed above when starting the container.

docker run -d -p 8080:80 -v /my/local/folder:/var/www/html/public:ro -e DATE_FORMAT=relative -v redissave:/var/lib/redis/ -it adrianschubek/dir-browser