diff --git a/public/app/core/components/TimePicker/TimePickerWithHistory.tsx b/public/app/core/components/TimePicker/TimePickerWithHistory.tsx index 178bda34d01b..e41773dae49c 100644 --- a/public/app/core/components/TimePicker/TimePickerWithHistory.tsx +++ b/public/app/core/components/TimePicker/TimePickerWithHistory.tsx @@ -65,7 +65,7 @@ export const Picker: FC = ({ rawValues, onSaveToStore, pickerProps }) ); } - } else if (fnGlobalTimeRange && !isEqual(fnGlobalTimeRange, pickerProps.value)) { + } else if (fnGlobalTimeRange && !isEqual(fnGlobalTimeRange.raw, pickerProps.value.raw)) { /* If fnGlobalTimeRange exists in the initial render, set the time as that */ pickerProps.onChange(fnGlobalTimeRange); }