activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Minutes-part of time format not shown when it is zero

Open komputilo opened this issue 1 year ago • 1 comments

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] I have searched the documentation and believe that my question is not covered.

Issue

1h 0m 30s is shown as 1h 30s.

In the Activity tab of the web interface, when I hover over a category in the Sunburst then a category time spent might display 1h 4m 55s. The a subcategory might display 1h 30s. For example Comms 1h 4m 55s, Comms > Email 1h 30s. The time spent indicated for each category is correct, but the format is confusing IMHO because I thought, how can there be 1h 4m 55s in the parent category and 1h 30m in the child category. I suggest to show the minutes even when it's zero, so I would expect 1h 0m 30s.

Thanks for developing ActivityWatch, it's great!

komputilo avatar Jul 17 '24 22:07 komputilo

Hi there! As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct. Thanks a bunch for opening your first issue! 🙏

github-actions[bot] avatar Jul 17 '24 22:07 github-actions[bot]