docker-bookstack icon indicating copy to clipboard operation
docker-bookstack copied to clipboard

Timezone Not Respected

Open serenewaffles opened this issue 4 years ago • 2 comments

linuxserver.io


Revision time stamps are not localized. I'm not sure if this is a Bookstack bug or a container bug or perhaps intended behavior?

Expected Behavior

Time stamps for revisions should be displayed in the container's timezone. e.g. TZ=America/New_York should result in seeing edit timestamps in Eastern Time,

Current Behavior

Time stamps are displayed in UTC.

Steps to Reproduce

  1. Set up a Bookstack instance

Environment

OS: Ubuntu Server 20.04.3 LTS CPU architecture: arm64 How docker service was installed: From the official docker repo (https://get.docker.com)

Command used to create docker container (run/create/compose/screenshot)

  bookstack:
    image: lscr.io/linuxserver/bookstack
    container_name: bookstack
    environment:
      - PUID=500
      - PGID=100
      - APP_URL=https://XXX.net
      - DB_HOST=XXX
      - DB_USER=bookstack
      - DB_PASS=XXX
      - DB_DATABASE=bookstackapp
      - APP_THEME=test
      - TZ=America/New_York
    volumes:
      - bookstack:/config
#    ports:
#      - 6875:80
    restart: unless-stopped
    networks:
      - caddy
    labels:
      caddy: XXX.net
      caddy.reverse_proxy: "{{upstreams 80}}"

Docker logs

serenewaffles avatar Dec 03 '21 21:12 serenewaffles

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] avatar Dec 03 '21 21:12 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 03 '22 02:01 github-actions[bot]