Skip to content

Commit

Permalink
[#5694] Platform: Fixed Metrics custom time window issue (#6949)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav061 authored Jan 22, 2021
1 parent 2ff5b5a commit 8ed5f8d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,15 @@ class GraphPanelHeader extends Component {
datePicker = (
<span className="graph-filter-custom">
<DateTimePicker
value={this.state.startMoment.toDate()}
placeholder = 'MMM dd, yyyy, hh:mm a'
defaultValue={this.state.startMoment.toDate()}
onChange={this.handleStartDateChange}
max={new Date()}
/>
&ndash;
<DateTimePicker
value={this.state.endMoment.toDate()}
placeholder = 'MMM dd, yyyy, hh:mm a'
defaultValue={this.state.endMoment.toDate()}
onChange={this.handleEndDateChange}
max={new Date()}
min={this.state.startMoment.toDate()}
Expand Down

0 comments on commit 8ed5f8d

Please sign in to comment.