Razeeman / Android-SimpleTimeTracker

Simple app that tracks time.
GNU General Public License v3.0
536 stars 68 forks source link

bug counting hours #155

Closed xunil89 closed 4 months ago

xunil89 commented 5 months ago

on android 13 crdroid redmi note 9 pro with version 1.35(36) fdroid the app from a wrong hour count from 8:00 to 12:00 marks 3h59m if imposed 7:59 marks 4h Screenshot_20240202-211338_Simple Time Tracker

DeDandeMan commented 4 months ago

That's because it takes into account the seconds as well, your lavoro is probably a few seconds shy of being 4 hours long, hence the reason it shows as 3 hrs 59 min

cogk commented 4 months ago

To me it looks like the expected result: accuracy is important when talking about time :smile:

Could you send us the same screenshot with the Show seconds option turned on? Maybe there is a bug with the rounding but I don't believe so. The difference between 08:00:59 and 12:00:00 is 3h59m01s ~ 3h59m.

xunil89 commented 4 months ago

no longer to replicate it, it could be that actualmete pressed involuntarimete the -1s i don't know... also because the given time i had handed it.. .