feat: improve time display and add daily averages#615
Merged
sheepzh merged 3 commits intosheepzh:mainfrom Nov 11, 2025
mrfragger:feature/improve-time-display
Merged
feat: improve time display and add daily averages#615sheepzh merged 3 commits intosheepzh:mainfrom mrfragger:feature/improve-time-display
sheepzh merged 3 commits intosheepzh:mainfrom
mrfragger:feature/improve-time-display
Conversation
- Remove spaces before time units (22h 15m instead of 22 h 15 m) - Add daily average in parentheses for both Duration and Visits - Calculate averages based on actual days with data, not total date range - Skip showing averages for Today and Yesterday (redundant for single days) - Remove unnecessary decimal places from whole number visit counts - Reorder duration menu: Yesterday now appears after Today
sheepzh
requested changes
Nov 11, 2025
Owner
|
@mrfragger pls check the CR comment.
btw I dont agree to change this. |
sheepzh
approved these changes
Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds daily average calculations for both Duration and Visits in the popup statistics. refer to #614
22 h 15 m 33 sto22h 15m 33sfor cleaner display(3h 15m per day on average))2instead of2.0but2.5remains2.5)