Skip to content

Commit

Permalink
fix date-picker demo
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed Mar 8, 2017
1 parent 5c1e1dc commit b12944b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/date-picker/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ class Test extends React.Component {
minDate={minDate}
maxDate={maxDate}
>
<List.Item arrow="horizontal">日期</List.Item>
<List.Item arrow="horizontal">日期(CST)</List.Item>
</DatePicker>
<DatePicker mode="time" {...getFieldProps('time1')}>
<List.Item arrow="horizontal">时间</List.Item>
<List.Item arrow="horizontal">时间(local time)</List.Item>
</DatePicker>
<DatePicker
mode="time"
Expand All @@ -77,7 +77,7 @@ class Test extends React.Component {
minDate={minTime}
maxDate={maxTime}
>
<List.Item arrow="horizontal">时间,限定上下限</List.Item>
<List.Item arrow="horizontal">时间(CST),限定上下限</List.Item>
</DatePicker>
<DatePicker className="forss"
mode="datetime"
Expand All @@ -96,7 +96,7 @@ class Test extends React.Component {
initialValue: gmtNow,
})}
>
<List.Item arrow="horizontal">time(en_US)</List.Item>
<List.Item arrow="horizontal">time(utc, UK time)</List.Item>
</DatePicker>
<List.Item extra={this.state.dpValue && this.state.dpValue.format('HH:mm Z')}>
<div onClick={() => this.setState({ visible: true })}>自定义控制显示/隐藏的元素</div>
Expand Down

0 comments on commit b12944b

Please sign in to comment.