Anaphora v0.8.113 - Scheduler has two-hour time difference

Hi, not a bit deal BUT it seems we still have two-hour time difference between the time in the anaphora job definition and the job execution time despite the configuration set in the docker-compose.yml file.

version: '3'

services:
  anaphora-server:
    restart: always
    image: beshultd/anaphora:0.8.113
    env_file: ".env"
    environment:
      - TZ="Europe/Luxembourg"
. . .

Are you able to reproduce the same behavior on your side ?

@gautier.franchini The timestamps in the json is in UTC. So this would be expected to be 2 hours difference from your time.
Through the TZ variable that you have set, the server automatically interprets it in the correct time zone.

@gautier.franchini I tested a bit around, and the problem seems to be the double quotes.
When I changed TZ=“Europe/Luxembourg” to TZ=Europe/Luxembourg the problem resolved for me. In the .env file, the double quotes seem to be no problem, but in the docker-compose file, they will be interpreted as part of the variable.
Let me know if this solves the issue.

1 Like