I changed timezone in Dockerfile to my local TZ and created bitwarden_rs container with correct timezone. All logs have correct timestamp. Running 'date' command inside container shows correct date. However in information emails I still receive time in UTC zone. All timezone settings inside the container are correct.
Your environment
Bitwarden_rs version: 1.14.1-5471088e
Install method: docker
Dockerfile I use:
FROM bitwardenrs/server:latest
RUN rm /etc/localtime; ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime; echo -n America/Los_Angeles >/etc/timezone
WORKDIR /
CMD ["/bitwarden_rs"]
Steps to reproduce
Change timezone in docker container. Enable Email nootification
Make sure 'date' in container shows correct result
Login from a new device
Check date in received email
Your account was just logged into from a new device.
Date: Tuesday, March 31, 2020 at 18:54 <- UTC timezone
IP Address:
Device Type: Chrome
Expected behaviour
Date should be according to docker's container timezone
Subject of the issue
I changed timezone in Dockerfile to my local TZ and created bitwarden_rs container with correct timezone. All logs have correct timestamp. Running 'date' command inside container shows correct date. However in information emails I still receive time in UTC zone. All timezone settings inside the container are correct.
Your environment
Dockerfile I use:
Steps to reproduce
Your account was just logged into from a new device.
Date: Tuesday, March 31, 2020 at 18:54 <- UTC timezone IP Address:
Device Type: Chrome
Expected behaviour
Date should be according to docker's container timezone
Actual behaviour
Date in UTC