Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix][Infrastructure UI] Incorrect payload in time range when landing…
… on the Hosts View (#147390) Closes #146581 ## Summary This PR fixes the initial `from` date range calculation. The idea is to convert first the initial range of minutes to milliseconds. Then in order to get the date of `CALCULATED_DATE_RANGE_TO` - (the calculated initial range in milliseconds) and call `getTime()` to receive the calculated `from` date as timestamp. To test that you can open the host page without the time range in the URL. Then check the `from` value as in the screenshot attached to the story and you can use an [Unix timestamp converter](https://www.unixtimestamp.com/) to verify that the calculation is correct
- Loading branch information