We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e010acd commit d28ff8cCopy full SHA for d28ff8c
src/components/Widgets/DateControl.js
@@ -28,7 +28,7 @@ export default class DateControl extends React.Component {
28
const { field, includeTime, value } = this.props;
29
const format = field.get('format', moment.defaultFormat);
30
return (<DateTime
31
- timeFormat={includeTime}
+ timeFormat={!!includeTime}
32
value={moment(value, format)}
33
onChange={this.handleChange}
34
/>);
0 commit comments