Skip to content

Commit

Permalink
fix(DatePicker): time select formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
bushuai authored and SummerOverture committed Jan 14, 2021
1 parent 59d702e commit 656f317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/components/DatePicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ export default class TimePicker extends BasePicker {
{
(Locales: LocaleProperties["DatePicker"]) => (
<TimePanel
{...this.props, Locales}
selectableRange={converSelectRange(this.props)}
ONSELECTRANGECHANGE={this._onSelectionChange}
value={value}
onPicked={this.onPicked}
onCancelPicked={this.onCancelPicked}
Locales={Locales}
{...this.props }
/>
)
}
Expand Down

0 comments on commit 656f317

Please sign in to comment.