[Logs UI] Limit extendDatemath
to valid ranges
#71113
Merged
extendDatemath
to valid ranges
#71113