/sapi/v1/accountSnapshot time filter doesn't work as expected

I think /sapi/v1/accountSnapshot for margin has a bug:

I called this API with type=“MARGIN”, startTime=1664582340000 (2022-09-30 23:59:59), endTime=1664582400000 (2022-10-01 00:00:00)
it returns a balance snapshot with timestamp=1664668799000 (2022-10-01 23:59:59)
which is outside the range I specified.

Can this get fixed?

If you need to get the data of 2022-09-30, the time window can be set to:

1664496000000 to 1664582340000

If the endTime is set to 1664582400000, it will be considered that the data from 2022-10-01 is required.