I think different time zones might be causing the problem.
I’m in GMT+8.
I use the formula to adjust the calculated time by 8 hours, and the data is correct.
But I am not sure if it works in other time zones, maybe you can try it.
This is my formula:
$fd(steps,a0d8h0m0s,a0d23h59m59s)$
I use this in Lock(3.76b422110) and widget(3.76422110),
the data is correct!
It seems only “start time” had some bug.
I tried to change other formula when my time zone at 16:00, it is error.