Skip to content

Commit

Permalink
all: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Dec 19, 2023
1 parent f073dc4 commit 67313ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -33,7 +33,7 @@ NOTE: Add new changes BELOW THIS COMMENT.

### Fixed

- Statistics for `7` days displayed in days on the dashboard.
- Statistics for 7 days displayed as 168 hours on the dashboard.
- Names defined in the `/etc/hosts` for a single address family wrongly
considered undefined for another family ([#6541]).
- Omitted CNAME records in safe search results, which can cause YouTube to not
Expand Down
5 changes: 3 additions & 2 deletions internal/stats/unit.go
Expand Up @@ -511,8 +511,9 @@ func (s *StatsCtx) fillCollectedStats(data *StatsResp, units []*unitDB, curID ui
// fillCollectedStatsDaily fills data with collected daily statistics. units
// must contain data for the count of days.
//
// TODO(s.chzhen): Improve collection of statistics for frontend because there
// is rounding.
// TODO(s.chzhen): Improve collection of statistics for frontend. Dashboard
// cards should contain statistics for the whole interval without rounding to
// days.
func (s *StatsCtx) fillCollectedStatsDaily(
data *StatsResp,
units []*unitDB,
Expand Down

0 comments on commit 67313ec

Please sign in to comment.