alexjustesen / speedtest-tracker

Speedtest Tracker is a self-hosted internet performance tracking application that runs speedtest checks against Ookla's Speedtest service.
https://speedtest-tracker.dev/
MIT License
2.8k stars 107 forks source link

Default time range dosen't work #1760

Closed Tchet33 closed 1 week ago

Tchet33 commented 1 week ago

Hello, Since this morning the default time range is on "Last 24h" while it was "Last Week" before.

I add CHART_DEFAULT_DATE_RANGE=7 in my docker compose and I also try update to 0.21.4 without effect.

Here my docker-compose.yml

Thanks for your help



`services:
    speedtest-tracker:
        container_name: speedtest-tracker
        ports:
            - 8080:80
            - 8443:443
        environment:
            - PUID=1026
            - PGID=100
            - APP_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            - DB_CONNECTION=sqlite
            - SPEEDTEST_SCHEDULE=57 2,14 * * *
            - SPEEDTEST_SERVERS=62028
            - PRUNE_RESULTS_OLDER_THAN=30
            - CHART_DATETIME_FORMAT=H:i j/m/y
            - DATETIME_FORMAT=H:i j/m/y
            - APP_TIMEZONE=Europe/Paris
            - DISPLAY_TIMEZONE=Europe/Paris
            - TZ=Europe/Paris
            - APP_DEBUG=true
            - CHART_DEFAULT_DATE_RANGE=7
        volumes:
            - /volume1/docker/speedtest/config
            - /volume1/docker/speedtest/config/key
        image: lscr.io/linuxserver/speedtest-tracker:latest
        restart: unless-stopped`
svenvg93 commented 1 week ago

Hi @Tchet33,

It seems that the documentation was updated before the PR that adds this environment was merged and released. There is no ETA on when it will be available as it needs to be tested first.

Tchet33 commented 1 week ago

Thanks @svenvg93 I've probably dream about having Last Week in default