Fixed timezone being returned incorrectly

Happened if you've set TZ to non-UTC.

Apparently astimezone and replace doesn't do the same thing even if tzinfo is None.
This commit is contained in:
Donkie
2023-10-02 21:35:46 +02:00
parent e07436bd8c
commit 205574fa2c
7 changed files with 30 additions and 5 deletions

View File

@@ -6,6 +6,7 @@ services:
environment:
- COCKROACH_USER=john
- COCKROACH_DATABASE=spoolman
- TZ=Asia/Seoul
healthcheck:
test:
[
@@ -26,6 +27,7 @@ services:
- SPOOLMAN_DB_NAME=spoolman
- SPOOLMAN_DB_USERNAME=john
- SPOOLMAN_LOGGING_LEVEL=INFO
- TZ=Europe/Stockholm
depends_on:
db:
condition: service_healthy