Explorar o código

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

Šimon Podlipský %!s(int64=6) %!d(string=hai) anos
pai
achega
f3d1543e9f

+ 1 - 1
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 });
   };