Commit f3d1543e by Šimon Podlipský Committed by Torkel Ödegaard

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

parent 325fd29e
...@@ -51,7 +51,7 @@ export class TimePickerPopover extends Component<Props, State> { ...@@ -51,7 +51,7 @@ export class TimePickerPopover extends Component<Props, State> {
onToCalendarChanged = (value: DateTime) => { onToCalendarChanged = (value: DateTime) => {
value.set('h', 23); value.set('h', 23);
value.set('m', 59); value.set('m', 59);
value.set('s', 0); value.set('s', 59);
this.setState({ to: value }); this.setState({ to: value });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment