al-caughey / YAMon-v4

Official repository for YAMon v4
https://usage-monitoring.com
63 stars 21 forks source link

YAMon doesn't seem to work when browser and openwrt have different time zones #32

Open pmichaud opened 3 years ago

pmichaud commented 3 years ago

Hello,

I installed YAMon4 earlier today and it worked for a while, then took the opportunity to do a variety of upgrades/restarts and re-installed it (fresh) later in the evening.

So far it isn't working, and I suspect it has to do with timezone issues. My OpenWRT router is set to use UTC as its timezone (for a variety of reasons), and my desktop is set to US/Central (UTC-06:00).

It's currently 18:19 CST here on Feb 15; which corresponds to 00:19 Feb 16 UTC. When I try to access YAMon4 from my browser, it's looking to pull up data from Feb 15 but there isn't any available. The UI doesn't seem to let me move to view data Feb 16, even though there's clearly data available for Feb 16 (I can see a raw-traffic-2021-02-16-00.txt file as well as hourly_2021-02-16.js files being collected).

Will the UI only work if the browser timezone and router timezone are the same? (If so, that's likely a dealbreaker for me for being able to use YAMon software.)

Pm