File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class DatePickerTest extends React.Component {
2323 < section>
2424 < DatePicker label= ' Birthdate' onChange= {this .handleChange .bind (this , ' date1' )} value= {this .state .date1 } / >
2525 < DatePicker label= ' Expiration date' minDate= {min_datetime} onChange= {this .handleChange .bind (this , ' date2' )} value= {this .state .date2 } / >
26- < DatePicker label= ' Formatted date' inputFormat= {(value ) => ` ${ value .getDate ()} /${ value .getMonth ()} /${ value .getFullYear ()} ` } onChange= {this .handleChange .bind (this , ' date3' )} value= {this .state .date3 } / >
26+ < DatePicker label= ' Formatted date' inputFormat= {(value ) => ` ${ value .getDate ()} /${ value .getMonth () + 1 } /${ value .getFullYear ()} ` } onChange= {this .handleChange .bind (this , ' date3' )} value= {this .state .date3 } / >
2727 < / section>
2828 );
2929 }
You can’t perform that action at this time.
0 commit comments