How can I customize AWS Managed Grafana timepicker?

I want to customize Grafana timepicker to limit select just one day.

For example, if I pick a day ($__from 22-01-22 00:00:00), then end value fixed like this ($__to 22-01-22 23:59:59)

Simply put, prevent to select range timepicker like below image.
stackoverflowq
likethis

or Is there any way to limit $__to value by using variables?