Duration calculations always wrong by one hour

I noticed that duration calculations are always wrong. They indicate approx. one hour less than the actual duration. Is this a bug or on purpose and if it is on purpose, why?
I attach a screenshot showing this. As you can see, it tells me that if I go to bed at 22:55 and wake up at 07:30, I get 7:07 hours of sleep. How did it calculate this? From 22:55 to 07:30 there are 8 hours and 35 minutes


!

I have never seen Now as bed time, I go to bed a lot before the suggested time. But what I see in this screenshot is 8:50 mins in bed so I can only assume and this is a guess, that it’s taking out of the calculation your average awake time. Thus giving you what it thinks you will get of actual sleep. Do you have a lot of awake time. I had 42 minutes last night but I do not remember any of it :slight_smile: