TimePicker: Set time to to 23:59:59 when setting To time using calendar (#18595)

singlestat-to-gauge
Šimon Podlipský 6 years ago committed by Torkel Ödegaard
parent 325fd29ea0
commit f3d1543e9f
  1. 2
      packages/grafana-ui/src/components/TimePicker/TimePickerPopover.tsx

@ -51,7 +51,7 @@ export class TimePickerPopover extends Component<Props, State> {
onToCalendarChanged = (value: DateTime) => {
value.set('h', 23);
value.set('m', 59);
value.set('s', 0);
value.set('s', 59);
this.setState({ to: value });
};

Loading…
Cancel
Save