We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77e9e1b commit 5cf4234Copy full SHA for 5cf4234
examples/basic.tsx
@@ -134,7 +134,12 @@ export default () => {
134
</div>
135
<div style={{ margin: '0 8px' }}>
136
<h3>Uncontrolled Datetime</h3>
137
- <Picker<Moment> generateConfig={momentGenerateConfig} locale={zhCN} />
+ <Picker<Moment>
138
+ format="YYYY-MM-DD HH:mm:ss"
139
+ generateConfig={momentGenerateConfig}
140
+ locale={enUS}
141
+ showTime
142
+ />
143
144
145
<h3>Week</h3>
src/panels/DatetimePanel/index.tsx
@@ -153,6 +153,7 @@ function DatetimePanel<DateType>(props: DatetimePanelProps<DateType>) {
153
/>
154
<TimePanel
155
{...props}
156
+ format={undefined}
157
{...timeProps}
158
{...disabledTimes}
159
defaultValue={undefined}
0 commit comments