nlbwmon: Fixed interval (every 1 day) always reset in UTC time and ignoring local timezone settings
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @jow-
Environment: aarch64 - Openwrt 22.03.1 (zoneinfo-core & zoneinfo-asia package are installed)
Description: No matter what settings I set in, /etc/TZ, /etc/localtime, System->Timezone GUI, export TZ env variable. nlbwmon always reset its counter at 00:00 UTC. I also checked other statistical program that make use of local timezone and they work as expected in the same exact enviroment.
Expected: Follow local timezone setting.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing nlbwmon's daily reset on the reported OpenWrt 22.03.1 aarch64 environment, checking /etc/TZ, /etc/localtime, and the TZ environment variable. Trace the nlbwmon package's reset-time handling and verify completion when the counter follows the configured local midnight rather than 00:00 UTC.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100