ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
11.87k stars 543 forks source link

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

Open komputilo opened 2 months ago

komputilo commented 2 months ago

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!

github-actions[bot] commented 2 months ago

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! 🙏