feat: add TZ timezone support for all displayed timestamps
This commit is contained in:
@@ -98,6 +98,9 @@ KEYWARDEN_ENCRYPTION_KEY=generate-another-random-string-32-chars
|
||||
KEYWARDEN_PORT=8080
|
||||
KEYWARDEN_LOG_LEVEL=INFO
|
||||
|
||||
# Timezone (IANA, e.g. Europe/Berlin, America/New_York)
|
||||
TZ=UTC
|
||||
|
||||
# Initial owner (only used on first startup)
|
||||
KEYWARDEN_OWNER_USER=admin
|
||||
KEYWARDEN_OWNER_EMAIL=admin@example.com
|
||||
|
||||
@@ -12,6 +12,7 @@ Complete reference of all configuration options for Keywarden. All settings are
|
||||
| `KEYWARDEN_KEYS_DIR` | `./data/keys` | Directory for key storage (reserved) |
|
||||
| `KEYWARDEN_MASTER_DIR` | `./data/master` | Directory for master key storage (reserved) |
|
||||
| `KEYWARDEN_LOG_LEVEL` | `INFO` | Log level: `ERROR`, `WARN`, `INFO`, `DEBUG`, `TRACE` |
|
||||
| `TZ` | `UTC` | Timezone for all displayed timestamps (e.g., `Europe/Berlin`, `America/New_York`). Uses standard IANA timezone names. |
|
||||
|
||||
## Security
|
||||
|
||||
@@ -60,6 +61,7 @@ When running in the Docker container, these defaults are set in the Dockerfile:
|
||||
| `KEYWARDEN_DATA_DIR` | `/data` |
|
||||
| `KEYWARDEN_KEYS_DIR` | `/data/keys` |
|
||||
| `KEYWARDEN_MASTER_DIR` | `/data/master` |
|
||||
| `TZ` | `UTC` |
|
||||
|
||||
## Example .env File
|
||||
|
||||
@@ -76,6 +78,9 @@ KEYWARDEN_ENCRYPTION_KEY=mX9nP2qR4sT6uV8wY0zA1bC3dE5fG7hI
|
||||
KEYWARDEN_PORT=8080
|
||||
KEYWARDEN_LOG_LEVEL=INFO
|
||||
|
||||
# Timezone (IANA timezone name, e.g. Europe/Berlin)
|
||||
TZ=Europe/Berlin
|
||||
|
||||
# Initial owner (only used on first startup)
|
||||
KEYWARDEN_OWNER_USER=admin
|
||||
KEYWARDEN_OWNER_EMAIL=admin@example.com
|
||||
|
||||
Reference in New Issue
Block a user