fixed linting errors on utils/time.js
parent
16ed92693a
commit
756a3a9731
|
@ -9,12 +9,12 @@ class DatePicker extends React.Component {
|
|||
static propTypes = {
|
||||
className: React.PropTypes.string,
|
||||
error: React.PropTypes.string,
|
||||
inputFormat: React.PropTypes.func,
|
||||
label: React.PropTypes.string,
|
||||
maxDate: React.PropTypes.object,
|
||||
minDate: React.PropTypes.object,
|
||||
onChange: React.PropTypes.func,
|
||||
value: React.PropTypes.object,
|
||||
inputFormat: React.PropTypes.func
|
||||
value: React.PropTypes.object
|
||||
};
|
||||
|
||||
state = {
|
||||
|
|
|
@ -179,7 +179,7 @@ const time = {
|
|||
|
||||
formatDate (date) {
|
||||
return `${date.getDate()} ${time.getFullMonth(date)} ${date.getFullYear()}`;
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
export default time;
|
||||
|
|
Loading…
Reference in New Issue